mirror of
https://github.com/hasura/graphql-engine.git
synced 2024-11-13 09:17:21 +03:00
35 lines
1.1 KiB
Plaintext
35 lines
1.1 KiB
Plaintext
{
|
|
"env": {
|
|
"node": true
|
|
},
|
|
"extends": ["airbnb-base", "plugin:@typescript-eslint/recommended"],
|
|
"plugins": ["promise", "@typescript-eslint/eslint-plugin"],
|
|
"parser": "@typescript-eslint/parser",
|
|
"rules": {
|
|
"no-console": "off",
|
|
"consistent-return": "off",
|
|
"no-case-declarations": "off",
|
|
"no-useless-catch": "off",
|
|
"no-unused-vars": "off",
|
|
"no-eval": "off",
|
|
"no-new": "off",
|
|
"max-len": "off",
|
|
"no-plusplus": "off",
|
|
"import/no-unresolved": "off",
|
|
"promise/always-return": "off",
|
|
"promise/no-return-wrap": "error",
|
|
"promise/param-names": "error",
|
|
"promise/catch-or-return": "error",
|
|
"promise/no-native": "off",
|
|
"promise/no-nesting": "error",
|
|
"promise/no-promise-in-callback": "error",
|
|
"promise/no-callback-in-promise": "error",
|
|
"promise/no-return-in-finally": "error",
|
|
"prefer-arrow-callback": "error",
|
|
"@typescript-eslint/no-var-requires": "off",
|
|
"@typescript-eslint/no-explicit-any": "off",
|
|
"@typescript-eslint/explicit-function-return-type": "off",
|
|
"@typescript-eslint/camelcase": "off"
|
|
}
|
|
}
|