You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
parser: "@typescript-eslint/parser",// Specifies the ESLint parser
3
+
extends: [
4
+
"plugin:react/recommended",// Uses the recommended rules from @eslint-plugin-react
5
+
"plugin:@typescript-eslint/recommended",// Uses the recommended rules from the @typescript-eslint/eslint-plugin
6
+
"prettier/@typescript-eslint",// Uses eslint-config-prettier to disable ESLint rules from @typescript-eslint/eslint-plugin that would conflict with prettier
7
+
"plugin:prettier/recommended"// Enables eslint-plugin-prettier and eslint-config-prettier. This will display prettier errors as ESLint errors. Make sure this is always the last configuration in the extends array.
8
+
],
9
+
parserOptions: {
10
+
ecmaVersion: 2018,// Allows for the parsing of modern ECMAScript features
11
+
sourceType: "module",// Allows for the use of imports
12
+
ecmaFeatures: {
13
+
jsx: true// Allows for the parsing of JSX
14
+
}
15
+
},
16
+
rules: {
17
+
// Place to specify ESLint rules. Can be used to overwrite rules specified from the extended configs
18
+
// e.g. "@typescript-eslint/explicit-function-return-type": "off",
19
+
"react/prop-types": 0
20
+
},
21
+
settings: {
22
+
react: {
23
+
version: "detect"// Tells eslint-plugin-react to automatically detect the version of React to use
0 commit comments