mirror of https://github.com/nocodb/nocodb
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
68 lines
1.6 KiB
68 lines
1.6 KiB
4 years ago
|
{
|
||
|
"root": true,
|
||
|
"parser": "@typescript-eslint/parser",
|
||
|
"parserOptions": {
|
||
|
"project": "./tsconfig.json"
|
||
|
},
|
||
|
"env": {
|
||
|
"es6": true
|
||
|
},
|
||
2 years ago
|
"ignorePatterns": ["node_modules", "build", "coverage", "dist", "nc"],
|
||
|
"plugins": ["import", "eslint-comments", "functional"],
|
||
4 years ago
|
"extends": [
|
||
|
"eslint:recommended",
|
||
|
"plugin:eslint-comments/recommended",
|
||
|
"plugin:@typescript-eslint/recommended",
|
||
|
"plugin:import/typescript",
|
||
3 years ago
|
"plugin:prettier/recommended"
|
||
4 years ago
|
],
|
||
|
"globals": {
|
||
|
"BigInt": true,
|
||
|
"console": true,
|
||
|
"WebAssembly": true
|
||
|
},
|
||
|
"rules": {
|
||
|
"@typescript-eslint/explicit-module-boundary-types": "off",
|
||
|
"eslint-comments/disable-enable-pair": [
|
||
|
"error",
|
||
|
{
|
||
|
"allowWholeFile": true
|
||
|
}
|
||
|
],
|
||
|
"eslint-comments/no-unused-disable": "error",
|
||
|
"sort-imports": [
|
||
|
"error",
|
||
|
{
|
||
|
"ignoreDeclarationSort": true,
|
||
|
"ignoreCase": true
|
||
|
}
|
||
|
],
|
||
2 years ago
|
"import/order": [
|
||
|
"error",
|
||
|
{
|
||
|
"groups": [
|
||
|
"builtin",
|
||
|
"external",
|
||
|
"internal",
|
||
|
"parent",
|
||
|
"sibling",
|
||
|
"index",
|
||
|
"object",
|
||
|
"type"
|
||
|
]
|
||
|
}
|
||
|
],
|
||
4 years ago
|
"@typescript-eslint/no-this-alias": "off",
|
||
|
|
||
|
// todo: enable
|
||
|
"@typescript-eslint/ban-ts-comment": "off",
|
||
|
"@typescript-eslint/no-explicit-any": "off",
|
||
|
"@typescript-eslint/no-unused-vars": "off",
|
||
|
"@typescript-eslint/no-var-requires": "off",
|
||
|
"no-useless-catch": "off",
|
||
|
"no-empty": "off",
|
||
|
"@typescript-eslint/no-empty-function": "off",
|
||
2 years ago
|
"@typescript-eslint/consistent-type-imports": "warn"
|
||
4 years ago
|
}
|
||
|
}
|