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:@typescript-eslint/recommended',// Uses the recommended rules from the @typescript-eslint/eslint-plugin
5
-
'prettier/@typescript-eslint',// Uses eslint-config-prettier to disable ESLint rules from @typescript-eslint/eslint-plugin that would conflict with prettier
6
-
'plugin:prettier/recommended',// Enables eslint-plugin-prettier and displays prettier errors as ESLint errors. Make sure this is always the last configuration in the extends array.
1
+
module.exports={
2
+
parser: '@typescript-eslint/parser',// Specifies the ESLint parser
3
+
extends: [
4
+
'eslint:recommended',
5
+
'plugin:@typescript-eslint/recommended',// Uses the recommended rules from the @typescript-eslint/eslint-plugin
7
6
'plugin:react-hooks/recommended',
8
7
],
9
-
parserOptions:{
10
-
ecmaVersion: 2018,// Allows for the parsing of modern ECMAScript features
11
-
sourceType: 'module',// Allows for the use of imports
8
+
parserOptions: {
9
+
ecmaVersion: 2017,// Allows for the parsing of modern ECMAScript features
10
+
sourceType: 'module',// Allows for the use of imports
12
11
},
13
-
rules: {
12
+
rules: {
14
13
// Place to specify ESLint rules. Can be used to overwrite rules specified from the extended configs
0 commit comments