mirror of
https://github.com/chanzuckerberg/cellxgene.git
synced 2026-10-02 15:28:12 +08:00
ESLint tooling and enforcement(#1492)
* add eslint-prettier * add lint-staged * ignore .eslintcache * remove unused import * attempt test change * Revert "attempt test change" This reverts commit78d0e31d41. * attempt to add error * Revert "attempt to add error" This reverts commita5885c0942. * add error * create config * add comment * tweak glob * Revert "add error" This reverts commit3187522396. * add python error * Revert "add python error" This reverts commitd0b116ed15. * lint on push + PR * Revert "add comment" This reverts commitefa4eb6676. * add prettier rules to ESLint * remove lint-diff targets
This commit is contained in:
@@ -84,6 +84,7 @@
|
||||
"eslint-plugin-import": "^2.20.2",
|
||||
"eslint-plugin-jest": "^23.8.2",
|
||||
"eslint-plugin-jsx-a11y": "^6.2.3",
|
||||
"eslint-plugin-prettier": "^3.1.3",
|
||||
"eslint-plugin-react": "^7.19.0",
|
||||
"eslint-plugin-react-hooks": "^2.5.1",
|
||||
"express": "^4.17.1",
|
||||
@@ -91,9 +92,11 @@
|
||||
"file-loader": "^6.0.0",
|
||||
"html-webpack-inline-source-plugin": "^1.0.0-beta.2",
|
||||
"html-webpack-plugin": "^4.0.0",
|
||||
"husky": "^4.2.5",
|
||||
"jest": "^25.2.7",
|
||||
"jest-puppeteer": "^4.4.0",
|
||||
"json-loader": "^0.5.7",
|
||||
"lint-staged": "^10.2.4",
|
||||
"mini-css-extract-plugin": "^0.9.0",
|
||||
"optimize-css-assets-webpack-plugin": "^5.0.3",
|
||||
"puppeteer": "^2.1.1",
|
||||
@@ -146,5 +149,10 @@
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"husky": {
|
||||
"hooks": {
|
||||
"pre-commit": "lint-staged --config \"./configuration/lint-staged/lint-staged.config.js\""
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user