Skip to content

Commit

Permalink
fix(template/typescript-webpack): add ts/tsx to known eslint-plugin-i…
Browse files Browse the repository at this point in the history
…mport extensions (#2139)
  • Loading branch information
malept authored Jan 29, 2021
1 parent 646c159 commit 90f122c
Showing 1 changed file with 21 additions and 9 deletions.
30 changes: 21 additions & 9 deletions packages/template/typescript-webpack/tmpl/.eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,25 @@
"es6": true,
"node": true
},
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/eslint-recommended",
"plugin:@typescript-eslint/recommended",
"plugin:import/errors",
"plugin:import/warnings",
"plugin:import/typescript"
],
"parser": "@typescript-eslint/parser"
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/eslint-recommended",
"plugin:@typescript-eslint/recommended",
"plugin:import/errors",
"plugin:import/warnings",
"plugin:import/typescript"
],
"parser": "@typescript-eslint/parser",
"settings": {
"import/resolver": {
"node": {
"extensions": [
".js",
".jsx",
".ts",
".tsx"
]
}
}
}
}

0 comments on commit 90f122c

Please sign in to comment.