Skip to content

Commit

Permalink
feat: added MATCH_MANIFEST_VERSIONS to config and Exhort JS API reque…
Browse files Browse the repository at this point in the history
…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
IlonaShishov authored Oct 30, 2023
1 parent 68c9e85 commit 003ee8f
Show file tree
Hide file tree
Showing 15 changed files with 1,096 additions and 879 deletions.
72 changes: 55 additions & 17 deletions .eslintrc.js
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'
},
};
Loading

0 comments on commit 003ee8f

Please sign in to comment.