Skip to content

Commit

Permalink
feat: support linter
Browse files Browse the repository at this point in the history
  • Loading branch information
tjduigna committed Jul 25, 2022
1 parent fd80f03 commit 2e0e86b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ dist/
build/
node_modules/
.eslintcache
.husky/
.nyc_output/
.idea/

10 changes: 7 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,9 @@
"lint": "eslint src tests && prettier --write src tests",
"lint:fix": "eslint --fix --cache src tests && prettier --write src tests",
"transpile": "babel --out-dir dist src",
"postinstall": "npm run transpile"
"postinstall": "npm run transpile",
"prettier": "prettier --check src tests",
"prepare": "husky install"
},
"repository": {
"type": "git",
Expand Down Expand Up @@ -40,15 +42,17 @@
"eslint": "7.32.0",
"eslint-config-airbnb": "19.0.2",
"eslint-config-prettier": "8.3.0",
"eslint-plugin-react": "7.30.0",
"eslint-plugin-import": "2.25.3",
"eslint-plugin-jsdoc": "37.1.0",
"eslint-plugin-jsx-a11y": "6.5.1",
"eslint-plugin-prettier": "4.0.0",
"eslint-plugin-prettier": "4.2.1",
"eslint-plugin-simple-import-sort": "7.0.0",
"husky": "^7.0.4",
"lint-staged": "^12.1.2",
"mocha": "^9.1.3",
"nyc": "^15.1.0"
"nyc": "^15.1.0",
"prettier": "^2.7.1"
},
"engines": {
"node": ">=12.0.0"
Expand Down

0 comments on commit 2e0e86b

Please sign in to comment.