-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Uses ESLint (https://eslint.org/) to lint the TypeScript code.
- Loading branch information
1 parent
fd9355b
commit 8144a03
Showing
6 changed files
with
2,963 additions
and
124 deletions.
There are no files selected for viewing
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
{ | ||
"parser": "@typescript-eslint/parser", | ||
"plugins": ["@typescript-eslint", "no-comments"], | ||
"extends": [ | ||
"eslint:recommended", | ||
"plugin:@typescript-eslint/strict-type-checked", | ||
"plugin:@typescript-eslint/stylistic-type-checked", | ||
"plugin:import/recommended", | ||
"plugin:import/typescript", | ||
"prettier" | ||
], | ||
"parserOptions": { | ||
"project": "./tsconfig.json" | ||
}, | ||
"rules": { | ||
"@typescript-eslint/array-type": ["error", { "default": "generic" }], | ||
"@typescript-eslint/consistent-type-imports": ["error", { "fixStyle": "inline-type-imports" }], | ||
"@typescript-eslint/no-confusing-void-expression": "off", | ||
"@typescript-eslint/no-import-type-side-effects": "error", | ||
"@typescript-eslint/prefer-nullish-coalescing": ["error", { "ignoreConditionalTests": true }], | ||
"@typescript-eslint/strict-boolean-expressions": "error", | ||
"import/no-cycle": "error", | ||
"import/no-duplicates": ["error", { "prefer-inline": true }], | ||
"import/no-extraneous-dependencies": ["error"], | ||
"import/no-internal-modules": ["error"], | ||
"import/no-named-as-default": "off", | ||
"import/no-named-as-default-member": "off", | ||
"no-comments/disallowComments": ["error"], | ||
"quotes": ["error", "single", { "avoidEscape": true }] | ||
}, | ||
"settings": { | ||
"import/resolver": { | ||
"typescript": true | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.