-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- installed eslint integrations - removed tslint - added rules to match old tslint rules - ran linter on ts_src and tests
- Loading branch information
Feli
committed
Dec 5, 2022
1 parent
550ac73
commit 1724115
Showing
42 changed files
with
6,125 additions
and
1,124 deletions.
There are no files selected for viewing
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,57 @@ | ||
{ | ||
"root": true, | ||
"parser": "@typescript-eslint/parser", | ||
"plugins": [ | ||
"@typescript-eslint" | ||
], | ||
"extends": [ | ||
"eslint:recommended", | ||
"prettier", | ||
"plugin:@typescript-eslint/recommended", | ||
"plugin:prettier/recommended" | ||
], | ||
"rules": { | ||
"prettier/prettier": ["error", { | ||
"singleQuote": true, | ||
"trailingComma": "all", | ||
|
||
"endOfLine": "auto", | ||
"arrowParens": "avoid", | ||
"tabWidth": 2 | ||
}], | ||
|
||
"arrow-body-style": "off", | ||
"prefer-arrow-callback": "off", | ||
|
||
"@typescript-eslint/array-type": 0, | ||
"@typescript-eslint/no-inferrable-types": "off", | ||
"@typescript-eslint/ban-types": "off", | ||
"@typescript-eslint/no-unused-vars": "off", | ||
|
||
"arrow-parens": "off", | ||
"curly": "off", | ||
"no-case-declarations": "off", | ||
|
||
"quotes": "off", | ||
"@typescript-eslint/quotes": ["error", "single", { "avoidEscape": true, "allowTemplateLiterals": true }], | ||
"prefer-rest-params": "off", | ||
"no-bitwise": "off", | ||
"no-console": "off", | ||
"no-empty": ["error", { "allowEmptyCatch": true }], | ||
|
||
"@typescript-eslint/no-var-requires": "off", | ||
"@typescript-eslint/no-non-null-assertion": "off", | ||
"@typescript-eslint/no-explicit-any": "off", | ||
|
||
"no-unused-expressions": "off", | ||
"@typescript-eslint/no-unused-expressions": "off", | ||
|
||
"space-before-function-paren": "off" | ||
}, | ||
"env": { | ||
"browser": true, | ||
"amd": true, | ||
"node": 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
*.d.ts |
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 |
---|---|---|
@@ -1,4 +1,7 @@ | ||
{ | ||
"singleQuote": true, | ||
"trailingComma": "all" | ||
"trailingComma": "all", | ||
"endOfLine": "auto", | ||
"arrowParens": "avoid", | ||
"tabWidth": 2 | ||
} |
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.