-
Notifications
You must be signed in to change notification settings - Fork 34
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: added MATCH_MANIFEST_VERSIONS to config and Exhort JS API reque…
…st (#219) * feat: added MATCH_MANIFEST_VERSIONS to config and Exhort JS API request Signed-off-by: Ilona Shishov <[email protected]> * chore: upgraded eslint config Signed-off-by: Ilona Shishov <[email protected]> * chore: upgraded exhort-javascript-api package version Signed-off-by: Ilona Shishov <[email protected]> --------- Signed-off-by: Ilona Shishov <[email protected]>
- Loading branch information
1 parent
68c9e85
commit 003ee8f
Showing
15 changed files
with
1,096 additions
and
879 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 |
---|---|---|
@@ -1,20 +1,58 @@ | ||
module.exports = { | ||
"parser": "@typescript-eslint/parser", | ||
"plugins": ["@typescript-eslint"], | ||
rules: { | ||
'@typescript-eslint/no-unused-expressions': 'error', | ||
'@typescript-eslint/no-redeclare': 'error', | ||
curly: 'error', | ||
'@typescript-eslint/naming-convention': ['error', { selector: 'class', format: ['PascalCase'] }], | ||
semi: 'error', | ||
eqeqeq: 'error', | ||
quotes: ['error', 'single', { avoidEscape: true }], | ||
'no-debugger': 'error', | ||
'no-empty': 'error', | ||
'@typescript-eslint/no-var-requires': 'error', | ||
'no-unsafe-finally': 'error', | ||
'new-parens': 'error', | ||
'no-throw-literal': 'error', | ||
'no-restricted-imports': ['error', 'require'], | ||
"root": true, | ||
"parser": "@typescript-eslint/parser", | ||
"plugins": ["@typescript-eslint"], | ||
"extends": [ | ||
"eslint:recommended", | ||
"plugin:@typescript-eslint/eslint-recommended", | ||
"plugin:@typescript-eslint/recommended" | ||
], | ||
"rules": { | ||
"@typescript-eslint/no-explicit-any": "off", | ||
"@typescript-eslint/no-require-imports": "error", | ||
'@typescript-eslint/no-unused-expressions': 'error', | ||
"@typescript-eslint/naming-convention": [ | ||
"error", | ||
{ | ||
"selector": "default", | ||
"format": ["camelCase"] | ||
}, | ||
{ | ||
"selector": ["class", "interface", "enum", "enumMember"], | ||
"format": ["PascalCase"] | ||
}, | ||
{ | ||
"selector": ["variable", "property", "method"], | ||
"format": ["UPPER_CASE", "camelCase"], | ||
"leadingUnderscore": "allow" | ||
}, | ||
{ | ||
"selector": ["typeParameter", "typeAlias"], | ||
"format": ["PascalCase"], | ||
} | ||
], | ||
"@typescript-eslint/semi": ["error", "always"], | ||
"@typescript-eslint/quotes": [ | ||
"error", | ||
"single", | ||
{ | ||
"allowTemplateLiterals": true, | ||
"avoidEscape": true | ||
} | ||
], | ||
"@typescript-eslint/no-shadow": "error", | ||
"@typescript-eslint/no-redeclare": "error", | ||
"curly": 'error', | ||
"semi": 'off', | ||
"quotes": "off", | ||
"no-shadow": "off", | ||
"no-redeclare": "off", | ||
"no-duplicate-case": "error", | ||
"eqeqeq": ["error", "always"], | ||
'no-debugger': 'error', | ||
'no-empty': 'error', | ||
'no-unsafe-finally': 'error', | ||
'new-parens': 'error', | ||
'no-throw-literal': 'error' | ||
}, | ||
}; |
Oops, something went wrong.