Commit 214a7b64 by mazhenxiao

eslint

1 parent 8206018e
const eslintrc = {
extends: [
//'eslint-config-airbnb',
// 'eslint-config-airbnb',
'plugin:@typescript-eslint/recommended'
],
env: {
......
......@@ -12,6 +12,11 @@
"gitHooks": {
"pre-commit": "lint-staged"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.{js,jsx,less,md,json}": [
"prettier --write"
......@@ -37,6 +42,7 @@
"eslint": "^7.32.0",
"eslint-plugin-babel": "^5.3.1",
"eslint-plugin-react": "^7.24.0",
"husky": "^7.0.2",
"lint-staged": "^10.0.7",
"prettier": "^2.2.0",
"typescript": "^4.1.2",
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!