mirror of
https://github.com/excalidraw/excalidraw.git
synced 2024-11-10 11:35:52 +01:00
4b4eecbd27
Bumps [react-scripts](https://github.com/facebook/create-react-app/tree/HEAD/packages/react-scripts) from 4.0.1 to 4.0.2. - [Release notes](https://github.com/facebook/create-react-app/releases) - [Changelog](https://github.com/facebook/create-react-app/blob/master/CHANGELOG.md) - [Commits](https://github.com/facebook/create-react-app/commits/react-scripts@4.0.2/packages/react-scripts) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
41 lines
952 B
JSON
41 lines
952 B
JSON
{
|
|
"extends": ["prettier", "react-app"],
|
|
"plugins": ["prettier"],
|
|
"rules": {
|
|
"@typescript-eslint/no-unused-vars": "warn",
|
|
"curly": "warn",
|
|
"dot-notation": "warn",
|
|
"import/no-anonymous-default-export": "off",
|
|
"no-console": [
|
|
"warn",
|
|
{
|
|
"allow": ["warn", "error", "info"]
|
|
}
|
|
],
|
|
"no-else-return": "warn",
|
|
"no-lonely-if": "warn",
|
|
"no-restricted-syntax": [
|
|
"warn",
|
|
{
|
|
"message": "Use 't(...)' instead of literal text in JSX",
|
|
"selector": "JSXText[value=/\\w/]"
|
|
}
|
|
],
|
|
"no-unneeded-ternary": "warn",
|
|
"no-unused-expressions": "warn",
|
|
"no-useless-return": "warn",
|
|
"no-var": "warn",
|
|
"object-shorthand": "warn",
|
|
"one-var": ["warn", "never"],
|
|
"prefer-arrow-callback": "warn",
|
|
"prefer-const": [
|
|
"warn",
|
|
{
|
|
"destructuring": "all"
|
|
}
|
|
],
|
|
"prefer-template": "warn",
|
|
"prettier/prettier": "warn"
|
|
}
|
|
}
|