Chore: Update eslint configuration (#224)

- 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
This commit is contained in:
Elisha Nuchi
2024-06-02 18:01:12 -04:00
committed by GitHub
parent a976451c78
commit 85223ca42a
19 changed files with 1411 additions and 594 deletions
+6 -3
View File
@@ -1,12 +1,14 @@
{
"root": true,
"parser": "@babel/eslint-parser",
"parser": "@typescript-eslint/parser",
"extends": [
"airbnb-base",
"plugin:prettier/recommended",
"eslint:recommended",
"plugin:@typescript-eslint/recommended",
"plugin:jest/recommended"
],
"plugins": ["babel", "prettier"],
"plugins": ["prettier"],
"env": {
"browser": true,
"es6": true,
@@ -27,8 +29,9 @@
"jest/no-done-callback": "off",
"prettier/prettier": "error",
"camelcase": "warn",
"import/prefer-default-export": "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"