Skip to content

Commit 46043e8

Browse files
committed
Tweak linting rule changes brought in by eslint-plugin-github upgrade
1 parent 75aad21 commit 46043e8

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

.eslintrc.json

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,14 @@
1414
],
1515
"rules": {
1616
"filenames/match-regex": ["error", "^[a-z0-9-]+(\\.test)?$"],
17+
"i18n-text/no-en": "off",
1718
"import/extensions": "error",
1819
"import/no-amd": "error",
1920
"import/no-commonjs": "error",
2021
"import/no-dynamic-require": "error",
21-
"import/no-extraneous-dependencies": ["error"],
22+
// Disable the rule that checks that devDependencies aren't imported since we use a single
23+
// linting configuration file for both source and test code.
24+
"import/no-extraneous-dependencies": ["error", {"devDependencies": true}],
2225
"import/no-namespace": "off",
2326
"import/no-unresolved": "error",
2427
"import/no-webpack-loader-syntax": "error",
@@ -48,7 +51,8 @@
4851
"@typescript-eslint/prefer-regexp-exec": "off",
4952
"@typescript-eslint/require-await": "off",
5053
"@typescript-eslint/restrict-template-expressions": "off",
51-
"func-style": "off"
54+
"func-style": "off",
55+
"sort-imports": "off"
5256
}
5357
}]
5458
}

0 commit comments

Comments
 (0)