61 lines
1.3 KiB
JSON
61 lines
1.3 KiB
JSON
{
|
|
"env": {
|
|
"es2021": true,
|
|
"node": true
|
|
},
|
|
"extends": [
|
|
"airbnb-base",
|
|
"plugin:@typescript-eslint/recommended",
|
|
"next/core-web-vitals",
|
|
"prettier"
|
|
],
|
|
"parser": "@typescript-eslint/parser",
|
|
"plugins": ["@typescript-eslint", "import"],
|
|
"parserOptions": {
|
|
"ecmaVersion": "latest",
|
|
"sourceType": "module",
|
|
"project": "./tsconfig.json"
|
|
},
|
|
"rules": {
|
|
"no-console": "off",
|
|
"no-void": "off",
|
|
"import/extensions": "off",
|
|
"no-unused-vars": [
|
|
"warn",
|
|
{
|
|
"argsIgnorePattern": "^_"
|
|
}
|
|
],
|
|
"func-names": "off",
|
|
"consistent-return": "off",
|
|
"no-restricted-syntax": "off",
|
|
"indent": ["error", "tab"],
|
|
"class-methods-use-this": "off",
|
|
"@typescript-eslint/no-unused-vars": [
|
|
"warn",
|
|
{
|
|
"argsIgnorePattern": "^_"
|
|
}
|
|
],
|
|
"@typescript-eslint/explicit-member-accessibility": "off",
|
|
"@typescript-eslint/no-explicit-any": "error",
|
|
"lines-between-class-members": "off",
|
|
"camelcase": "off",
|
|
"no-underscore-dangle": "off",
|
|
"no-shadow": "off",
|
|
"no-await-in-loop": "off",
|
|
"radix": "off",
|
|
"no-plusplus": "off",
|
|
"no-promise-executor-return": "off",
|
|
"import/no-duplicates": "off",
|
|
"import/prefer-default-export": "off",
|
|
"import/no-cycle": "off"
|
|
},
|
|
"settings": {
|
|
"import/resolver": {
|
|
"node": {
|
|
"extensions": [".js", ".ts"]
|
|
}
|
|
}
|
|
}
|
|
}
|