Skip to content

Commit

Permalink
Check that imports have file extensions in eslint
Browse files Browse the repository at this point in the history
  • Loading branch information
justinfagnani committed Jul 14, 2021
1 parent 20e1a8f commit 5c0d574
Show file tree
Hide file tree
Showing 3 changed files with 13,325 additions and 99 deletions.
5 changes: 3 additions & 2 deletions .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
},
"extends": ["eslint:recommended", "plugin:@typescript-eslint/recommended", "prettier", "prettier/@typescript-eslint"],
"parser": "@typescript-eslint/parser",
"plugins": ["@typescript-eslint"],
"plugins": ["@typescript-eslint", "import"],
"rules": {
"no-console": "error",
"prefer-rest-params": "off",
Expand All @@ -23,6 +23,7 @@
"@typescript-eslint/no-non-null-assertion": "off",
"@typescript-eslint/prefer-interface": "off",
"@typescript-eslint/no-empty-interface": "off",
"no-dupe-class-members": "off"
"no-dupe-class-members": "off",
"import/extensions": ["error", "always"]
}
}
Loading

0 comments on commit 5c0d574

Please sign in to comment.