add eslint config (#4457)

This commit is contained in:
ParkTandem 2021-11-02 20:01:06 -04:00 committed by GitHub
parent b095d9b82f
commit 5e3a524401
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 19847 additions and 458 deletions

9
webclient/.eslintrc.json Normal file
View file

@ -0,0 +1,9 @@
{
"root": true,
"parser": "@typescript-eslint/parser",
"parserOptions": { "project": [ "./tsconfig.json" ] },
"plugins": [
"@typescript-eslint"
],
"ignorePatterns": [ "node_modules/*", "build/*", "public/pb/*" ]
}

20288
webclient/package-lock.json generated

File diff suppressed because it is too large Load diff

View file

@ -5,6 +5,7 @@
"dependencies": {
"@material-ui/core": "^4.11.4",
"@material-ui/icons": "^4.11.2",
"@material-ui/styles": "^4.11.4",
"dexie": "^3.0.3",
"jquery": "^3.4.1",
"lodash": "^4.17.15",
@ -27,7 +28,8 @@
"start": "react-scripts start",
"build": "react-scripts build",
"test": "react-scripts test",
"eject": "react-scripts eject"
"eject": "react-scripts eject",
"lint": "eslint ./**/*.{ts,tsx}"
},
"eslintConfig": {
"extends": "react-app"
@ -59,6 +61,8 @@
"@types/react-virtualized-auto-sizer": "^1.0.0",
"@types/react-window": "^1.8.2",
"@types/redux": "^3.6.0",
"@types/redux-form": "^8.2.0"
"@types/redux-form": "^8.2.0",
"@typescript-eslint/eslint-plugin": "^5.3.0",
"eslint": "^7.1.0"
}
}