Skip to content

Commit

Permalink
Modify .eslintrc to work with JS files.
Browse files Browse the repository at this point in the history
  • Loading branch information
garg3133 committed Oct 28, 2022
1 parent 03082c3 commit 322599b
Showing 1 changed file with 22 additions and 5 deletions.
27 changes: 22 additions & 5 deletions .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -5,18 +5,35 @@
"@typescript-eslint"
],
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/eslint-recommended",
"plugin:@typescript-eslint/recommended"
"eslint:recommended"
],
"parserOptions": {
"ecmaVersion": 2018,
"sourceType": "module",
"ecmaFeatures": {
"jsx": false
},
"project": "./tsconfig.json"
}
},
"overrides": [
{
"files": [
"*.ts"
],
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/eslint-recommended",
"plugin:@typescript-eslint/recommended"
],
"parserOptions": {
"ecmaVersion": 2018,
"sourceType": "module",
"ecmaFeatures": {
"jsx": false
},
"project": "./tsconfig.json"
}
}
],
"env": {
"mocha": true,
"node": true
Expand Down

0 comments on commit 322599b

Please sign in to comment.