diff options
author | Shin'ya Ueoka <ueokande@i-beam.org> | 2019-12-22 11:10:36 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-12-22 11:10:36 +0900 |
commit | b1a6f374dca078dee2406ebe049715b826e37ca2 (patch) | |
tree | 5367c48648e2018f55f12d847baba94559e10040 /package.json | |
parent | b2dcdedad729ff7087867da50e20578f9fc8fb29 (diff) | |
parent | da72c2ddd916d79d134662e3985b53a4ac78af7a (diff) |
Merge pull request #690 from ueokande/eslint-and-prettier
Eslint and prettier
Diffstat (limited to 'package.json')
-rw-r--r-- | package.json | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/package.json b/package.json index 0725795..de09a33 100644 --- a/package.json +++ b/package.json @@ -6,8 +6,8 @@ "start": "webpack --mode development -w --debug --devtool inline-source-map", "build": "NODE_ENV=production webpack --mode production --progress --display-error-details --devtool inline-source-map", "package": "npm run build && script/package", - "lint": "eslint --ext .ts,.tsx src", - "lint:fix": "eslint --ext .ts,.tsx src --fix", + "lint": "eslint --ext .ts,.tsx .", + "lint:fix": "eslint --ext .ts,.tsx . --fix", "type-checks": "tsc --noEmit", "test": "karma start", "test:e2e": "mocha --timeout 10000 --retries 10 --require ts-node/register --extension ts e2e" @@ -43,7 +43,10 @@ "chai": "^4.2.0", "css-loader": "^3.2.0", "eslint": "^6.2.2", + "eslint-config-prettier": "^6.7.0", + "eslint-plugin-prettier": "^3.1.2", "eslint-plugin-react": "^7.14.3", + "eslint-plugin-standard": "^4.0.1", "express": "^4.17.1", "html-webpack-plugin": "^3.2.0", "jsonwebtoken": "^8.5.1", @@ -59,6 +62,8 @@ "lanthan": "0.0.2", "mocha": "^6.2.0", "node-sass": "^4.13.0", + "prettier": "^1.19.1", + "prettier-eslint": "^9.0.1", "react": "^16.9.0", "react-dom": "^16.9.0", "react-redux": "^7.1.1", |