Skip to content

Commit 48339bd

Browse files
committed
Lint import statements
1 parent 2bedd56 commit 48339bd

1 file changed

Lines changed: 9 additions & 1 deletion

File tree

.eslintrc.json

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,15 @@
44
"extends": ["plugin:github/recommended", "plugin:github/typescript", "plugin:github/browser"],
55
"rules": {
66
"no-invalid-this": "off",
7-
"@typescript-eslint/no-invalid-this": ["error"]
7+
"@typescript-eslint/no-invalid-this": ["error"],
8+
"import/extensions": [
9+
"error",
10+
"ignorePackages",
11+
{
12+
"ts": "never"
13+
}
14+
],
15+
"@typescript-eslint/consistent-type-imports": ["error", {"prefer": "type-imports"}]
816
},
917
"overrides": [
1018
{

0 commit comments

Comments
 (0)