mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-04-27 07:48:01 -07:00
Support all OS development for linters and prevent linting while in dev mode (#4480)
This commit is contained in:
parent
6ef394000b
commit
7c27e955d5
2 changed files with 56 additions and 3 deletions
|
|
@ -29,12 +29,12 @@
|
|||
"postinstall": "run-script-os",
|
||||
"postinstall:windows": "powershell .\\copy_shared_files.ps1",
|
||||
"postinstall:default": "./copy_shared_files.sh",
|
||||
"start": "react-scripts start",
|
||||
"start": "cross-env ESLINT_NO_DEV_ERRORS=true react-scripts start",
|
||||
"build": "react-scripts build",
|
||||
"test": "react-scripts test",
|
||||
"eject": "react-scripts eject",
|
||||
"lint": "eslint './**/*.{ts,tsx}'",
|
||||
"lint:fix": "eslint './**/*.{ts,tsx}' --fix"
|
||||
"lint": "eslint \"./**/*.{ts,tsx}\"",
|
||||
"lint:fix": "eslint \"./**/*.{ts,tsx}\" --fix"
|
||||
},
|
||||
"eslintConfig": {
|
||||
"extends": "react-app"
|
||||
|
|
@ -68,6 +68,7 @@
|
|||
"@types/redux-form": "^8.3.3",
|
||||
"@typescript-eslint/eslint-plugin": "^5.3.1",
|
||||
"@typescript-eslint/parser": "^5.3.1",
|
||||
"cross-env": "^7.0.3",
|
||||
"eslint": "^7.32.0",
|
||||
"run-script-os": "^1.1.6"
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue