parent
73f9b545e2
commit
11008d279d
@ -0,0 +1,4 @@ |
||||
src/types/* |
||||
src/api/operations/*/operation.tsx |
||||
src/react-app-env.d.ts |
||||
src/serviceWorker.ts |
||||
@ -0,0 +1,84 @@ |
||||
{ |
||||
"extends": [ |
||||
"eslint:recommended", |
||||
"plugin:react/recommended", |
||||
"airbnb", |
||||
"react-app" |
||||
], |
||||
"plugins": [ |
||||
"sort-destructure-keys", |
||||
"typescript-sort-keys", |
||||
"postro4no" |
||||
], |
||||
"rules": { |
||||
"@typescript-eslint/array-type": [ |
||||
"warn", |
||||
{ "default" : "generic" } |
||||
], |
||||
"@typescript-eslint/indent": ["warn", 2], |
||||
"@typescript-eslint/member-delimiter-style": ["warn", { |
||||
"multiline": { |
||||
"delimiter": "comma", |
||||
"requireLast": true |
||||
}, |
||||
"singleline": { |
||||
"delimiter": "comma", |
||||
"requireLast": false |
||||
} |
||||
}], |
||||
"import/extensions": [ |
||||
"warn", |
||||
"never", |
||||
{ |
||||
"svg": "always", |
||||
"css": "always", |
||||
"scss": "always" |
||||
} |
||||
], |
||||
"import/no-duplicates": "warn", |
||||
"import/no-extraneous-dependencies": [ |
||||
"warn", |
||||
{ "devDependencies": ["src/setupTests.ts"] } |
||||
], |
||||
"jsx-quotes": [ |
||||
"warn", |
||||
"prefer-single" |
||||
], |
||||
"no-param-reassign": [ |
||||
"warn", |
||||
{ |
||||
"props": true, |
||||
"ignorePropertyModificationsFor": ["self", "acc"] |
||||
} |
||||
], |
||||
"postro4no/function-args": "warn", |
||||
"postro4no/import": "warn", |
||||
"postro4no/object-props": "warn", |
||||
"react/jsx-filename-extension": [ |
||||
"warn", |
||||
{ "extensions": [".tsx"] } |
||||
], |
||||
"react/jsx-indent": ["warn", 2], |
||||
"sort-destructure-keys/sort-destructure-keys": [ |
||||
1, |
||||
{ "caseSensitive": false } |
||||
], |
||||
"sort-keys": [ |
||||
"warn", |
||||
"asc", { |
||||
"caseSensitive": true, |
||||
"natural": true |
||||
} |
||||
], |
||||
"typescript-sort-keys/interface": 1, |
||||
"typescript-sort-keys/string-enum": 1, |
||||
|
||||
"camelcase": "off", |
||||
"import/no-unresolved": "off", |
||||
"import/prefer-default-export": "off", |
||||
"indent": "off", |
||||
"no-unused-vars": "off", |
||||
"react/jsx-one-expression-per-line": "off", |
||||
"semi": "off" |
||||
} |
||||
} |
||||
Loading…
Reference in new issue