bridge/backend/.eslintrc.json

42 lines
1,014 B
JSON
Raw Normal View History

2021-01-16 23:14:51 +01:00
{
"env": {
"es6": true,
"node": true
},
"extends": [
"airbnb-typescript/base",
"plugin:@typescript-eslint/eslint-recommended",
"plugin:@typescript-eslint/recommended",
"plugin:@typescript-eslint/recommended-requiring-type-checking"
],
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaVersion": 2018,
"sourceType": "module",
"project": "./tsconfig.json"
},
"plugins": [
"@typescript-eslint"
],
"rules": {
"@typescript-eslint/explicit-member-accessibility": ["error"],
"import/order": ["error", {
"alphabetize": {
"order": "asc"
}
}],
"import/prefer-default-export": "warn",
"no-console": "off",
"max-len": ["off"],
"import/first": ["off"],
2021-01-18 12:31:18 +01:00
"max-classes-per-file": ["off"],
"@typescript-eslint/consistent-type-imports": ["error", {
"prefer": "type-imports",
"disallowTypeAnnotations": true
2021-01-25 13:21:10 +01:00
}],
"no-underscore-dangle": ["error", {
"allow": ["_id"]
2021-01-18 12:31:18 +01:00
}]
2021-01-16 23:14:51 +01:00
}
}