Skip to content

Commit

Permalink
Re-enable import/no-unused-modules for TypeScript
Browse files Browse the repository at this point in the history
Ref #50
  • Loading branch information
EvgenyOrekhov committed Aug 1, 2021
1 parent 5d1ec4d commit 6e50e82
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions ts.json
@@ -1,4 +1,8 @@
{
"rules": {
"import/no-unused-modules": "off"
},

"overrides": [
{
"files": ["*.ts", "*.tsx"],
Expand Down Expand Up @@ -78,6 +82,10 @@
"@shopify/typescript/prefer-singular-enums": "error",

"import/extensions": ["error", "never"],
"import/no-unused-modules": [
"error",
{ "missingExports": false, "unusedExports": true }
],

"@typescript-eslint/member-ordering": "off",
"@typescript-eslint/no-type-alias": "off"
Expand Down Expand Up @@ -117,9 +125,5 @@
}
],

"rules": {
"import/no-unused-modules": "off"
},

"ignorePatterns": ["*.d.ts"]
}

0 comments on commit 6e50e82

Please sign in to comment.