Lint website (#1519)

* Lint website

* Add comment to empty_thead.js
This commit is contained in:
ylemkimon
2018-07-28 23:49:36 +09:00
committed by Erik Demaine
parent 4114288403
commit db2aecce24
10 changed files with 248 additions and 199 deletions

View File

@@ -31,6 +31,7 @@
"cssnano": "^4.0.1",
"eslint": "^5.0.0",
"eslint-plugin-flowtype": "^2.40.1",
"eslint-plugin-react": "^7.10.0",
"file-loader": "^1.1.11",
"flow-bin": "^0.77.0",
"husky": "^1.0.0-rc.8",
@@ -61,7 +62,7 @@
"bin": "cli.js",
"scripts": {
"test": "npm run prestart && npm run test:lint && npm run test:flow && npm run test:jest",
"test:lint": "eslint katex.js katex.webpack.js cli.js webpack.*.js src static test contrib dockers && stylelint src/katex.less",
"test:lint": "eslint katex.js katex.webpack.js cli.js webpack.*.js src static test contrib dockers website && stylelint src/katex.less",
"test:flow": "flow",
"test:jest": "jest",
"test:jest:watch": "jest --watch",