Skip to content

Commit

Permalink
fix(template-typescript): enable "plugin:import/typescript" of eslint
Browse files Browse the repository at this point in the history
It's required config in typesctipt project.
https://github.com/benmosher/eslint-plugin-import#typescript
  • Loading branch information
unasuke committed Nov 22, 2020
1 parent 001ff24 commit d813edd
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion packages/template/typescript-webpack/tmpl/.eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@
"plugin:@typescript-eslint/eslint-recommended",
"plugin:@typescript-eslint/recommended",
"plugin:import/errors",
"plugin:import/warnings"
"plugin:import/warnings",
"plugin:import/typescript"
],
"parser": "@typescript-eslint/parser"
}
3 changes: 2 additions & 1 deletion packages/template/typescript/tmpl/.eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@
"plugin:@typescript-eslint/eslint-recommended",
"plugin:@typescript-eslint/recommended",
"plugin:import/errors",
"plugin:import/warnings"
"plugin:import/warnings",
"plugin:import/typescript"
],
"parser": "@typescript-eslint/parser"
}

0 comments on commit d813edd

Please sign in to comment.