chore(web): add fix command (#964)

This commit is contained in:
q1anx1
2022-08-05 23:40:04 +08:00
committed by GitHub
parent ea326b3513
commit 539ca2d731

View File

@ -39,7 +39,8 @@
"test": "craco test", "test": "craco test",
"eject": "craco eject", "eject": "craco eject",
"crowdin:sync": "crowdin upload && crowdin download", "crowdin:sync": "crowdin upload && crowdin download",
"preinstall": "node -e \"if (process.env.npm_execpath.indexOf('yarn') === -1) throw new Error('Use yarn for installing: https://yarnpkg.com/en/docs/install')\"" "preinstall": "node -e \"if (process.env.npm_execpath.indexOf('yarn') === -1) throw new Error('Use yarn for installing: https://yarnpkg.com/en/docs/install')\"",
"fix": "eslint --fix ."
}, },
"eslintConfig": { "eslintConfig": {
"extends": "react-app" "extends": "react-app"