Skip to content

Commit

Permalink
🔧 Add import/no-duplicates lint rule (SpyglassMC#1181)
Browse files Browse the repository at this point in the history
  • Loading branch information
TheAfroOfDoom committed May 24, 2024
1 parent 9f81954 commit aefba8d
Show file tree
Hide file tree
Showing 15 changed files with 2,487 additions and 517 deletions.
4 changes: 3 additions & 1 deletion .eslintrc.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@ module.exports = {
"project": "./packages/**/tsconfig.json"
},
"plugins": [
"@typescript-eslint"
"@typescript-eslint",
"import"
],
"ignorePatterns": [
"**/*.js",
Expand All @@ -38,6 +39,7 @@ module.exports = {
"@typescript-eslint/prefer-for-of": "warn",
"@typescript-eslint/prefer-readonly": "warn",
"@typescript-eslint/no-floating-promises": "error",
"import/no-duplicates": "error",
"indent": "off",
"no-fallthrough": "warn",
"no-restricted-syntax": [
Expand Down
Loading

0 comments on commit aefba8d

Please sign in to comment.