mirror of
https://github.com/shlinkio/shlink-web-client.git
synced 2024-12-22 17:10:26 +03:00
46 lines
1.4 KiB
Text
46 lines
1.4 KiB
Text
{
|
|
"root": true,
|
|
"extends": [
|
|
"airbnb",
|
|
"airbnb-typescript",
|
|
"plugin:@typescript-eslint/recommended"
|
|
],
|
|
"parserOptions": {
|
|
"project": "./tsconfig.json"
|
|
},
|
|
"ignorePatterns": ["src/service*.ts"],
|
|
"rules": {
|
|
"object-curly-newline": "off",
|
|
"implicit-arrow-linebreak": "off",
|
|
"no-restricted-globals": "off",
|
|
"default-case": "off",
|
|
"max-len": ["error", { "code": 120, "ignoreComments": true, "ignoreStrings": true }],
|
|
"import/no-cycle": "off",
|
|
"import/prefer-default-export": "off",
|
|
"import/no-extraneous-dependencies": "off",
|
|
"react/react-in-jsx-scope": "off",
|
|
"react/prop-types": "off",
|
|
"react/require-default-props": "off",
|
|
"react/function-component-definition": "off",
|
|
"react/no-array-index-key": "off",
|
|
"react/no-unstable-nested-components": "off",
|
|
"react/jsx-one-expression-per-line": "off",
|
|
"react/jsx-props-no-spreading": "off",
|
|
"react/jsx-no-useless-fragment": "off",
|
|
"@typescript-eslint/no-unused-expressions": "off",
|
|
"@typescript-eslint/ban-types": "off",
|
|
"@typescript-eslint/no-explicit-any": "off",
|
|
"@typescript-eslint/lines-between-class-members": "off"
|
|
},
|
|
"overrides": [
|
|
{
|
|
"files": ["*.test.*"],
|
|
"rules": {
|
|
"prefer-promise-reject-errors": "off",
|
|
"no-param-reassign": "off",
|
|
"react/no-children-prop": "off",
|
|
"@typescript-eslint/no-shadow": "off"
|
|
}
|
|
}
|
|
]
|
|
}
|