mirror of
https://github.com/MetaFam/TheGame.git
synced 2026-04-24 03:00:09 -04:00
Setup ESLint config and lint-staged check
This commit is contained in:
13
package.json
13
package.json
@@ -21,6 +21,7 @@
|
||||
"test": "lerna run test --parallel",
|
||||
"clean": "lerna clean",
|
||||
"format": "prettier --ignore-path .gitignore --write \"{*,**/*}.{ts,tsx,js,json,yml,yaml,md}\"",
|
||||
"lint": "eslint --ignore-path .gitignore \"./packages/**/*.{ts,tsx,js}\"",
|
||||
"typecheck": "lerna run --parallel typecheck",
|
||||
"precommit": "lerna run --concurrency 1 --stream precommit",
|
||||
"prepush": "yarn typecheck"
|
||||
@@ -29,6 +30,18 @@
|
||||
"packages/*"
|
||||
],
|
||||
"devDependencies": {
|
||||
"@typescript-eslint/eslint-plugin": "3.6.0",
|
||||
"@typescript-eslint/parser": "3.6.0",
|
||||
"eslint": "6.8.0",
|
||||
"eslint-config-airbnb-typescript": "8.0",
|
||||
"eslint-config-prettier": "6.11.0",
|
||||
"eslint-import-resolver-typescript": "2.0.0",
|
||||
"eslint-plugin-import": "2.20.0",
|
||||
"eslint-plugin-jest": "23.18.0",
|
||||
"eslint-plugin-jsx-a11y": "6.3.1",
|
||||
"eslint-plugin-react": "7.20.3",
|
||||
"eslint-plugin-react-hooks": "4.0.6",
|
||||
"eslint-plugin-simple-import-sort": "5.0.3",
|
||||
"hasura-cli": "1.2.1",
|
||||
"husky": "^4.2.5",
|
||||
"lerna": "^3.16.4",
|
||||
|
||||
Reference in New Issue
Block a user