Skip to content

Commit

Permalink
fix(import): fix invalid usage of plugin:import/{react,typescript} (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
ybiquitous authored Jun 29, 2020
1 parent 3fdf834 commit 40e7667
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 7 deletions.
1 change: 1 addition & 0 deletions react.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,6 @@ module.exports = {
"./rules/plugins/react-jsx.js",
"./rules/plugins/react-hooks.js",
"./rules/plugins/jsx-a11y.js",
"plugin:import/react",
],
};
7 changes: 1 addition & 6 deletions rules/plugins/import.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,5 @@
module.exports = {
extends: [
"plugin:import/errors",
"plugin:import/warnings",
"plugin:import/react",
"plugin:import/typescript",
],
extends: ["plugin:import/errors", "plugin:import/warnings"],

rules: {
"import/dynamic-import-chunkname": "off",
Expand Down
2 changes: 1 addition & 1 deletion typescript.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module.exports = {
extends: ["./index.js", "./rules/plugins/typescript.js"],
extends: ["./index.js", "./rules/plugins/typescript.js", "plugin:import/typescript"],
};

0 comments on commit 40e7667

Please sign in to comment.