85223ca42a
- Update missing dev dependencies - Fix root .eslintrc.json and client and server versions - Add lint.yaml workflow - Remove babel settings - Clean up and fix eslint and ts errors
40 lines
838 B
JSON
40 lines
838 B
JSON
{
|
|
"root": true,
|
|
"parser": "@typescript-eslint/parser",
|
|
"extends": [
|
|
"airbnb-base",
|
|
"plugin:prettier/recommended",
|
|
"eslint:recommended",
|
|
"plugin:@typescript-eslint/recommended",
|
|
"plugin:jest/recommended"
|
|
],
|
|
"plugins": ["prettier"],
|
|
"env": {
|
|
"browser": true,
|
|
"es6": true,
|
|
"jest": true
|
|
},
|
|
"globals": {
|
|
"page": true,
|
|
"browser": true
|
|
},
|
|
"parserOptions": {
|
|
"ecmaVersion": 9,
|
|
"sourceType": "module",
|
|
"ecmaFeatures": {
|
|
"jsx": true
|
|
}
|
|
},
|
|
"rules": {
|
|
"jest/no-done-callback": "off",
|
|
"prettier/prettier": "error",
|
|
"camelcase": "warn",
|
|
"import/prefer-default-export": "off",
|
|
"import/no-extraneous-dependencies": "warn",
|
|
"import/extensions": "off",
|
|
"jest/expect-expect": "off",
|
|
"no-new": "off",
|
|
"no-underscore-dangle": "off"
|
|
}
|
|
}
|