11
0
Fork 0
mirror of https://github.com/wagoid/commitlint-github-action.git synced 2026-04-06 17:46:54 +00:00

style: add eslint to the project

The config is based on airbnb shared config, with some rules that work better with the project.
This commit is contained in:
Wagner Santos 2021-02-15 06:51:15 -03:00
parent 300f6dc47c
commit 51913c302c
11 changed files with 2376 additions and 34 deletions

View file

@ -6,7 +6,11 @@
"main": "run.js",
"scripts": {
"test": "NODE_PATH=./node_modules jest",
"changelog": "conventional-changelog -p angular -i CHANGELOG.md -s"
"changelog": "conventional-changelog -p angular -i CHANGELOG.md -s",
"lint": "eslint --ignore-path .gitignore ."
},
"engines": {
"node": ">=12.0.0"
},
"repository": {
"type": "git",
@ -39,6 +43,13 @@
"@commitlint/test-environment": "^9.0.1",
"commitlint-plugin-function-rules": "^1.1.20",
"conventional-changelog-cli": "^2.1.1",
"eslint": "^7.20.0",
"eslint-config-airbnb-base": "^14.2.1",
"eslint-config-node": "^4.1.0",
"eslint-config-prettier": "^7.2.0",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-prettier": "^3.3.1",
"husky": "^5.0.9",
"jest": "^26.6.3",
"lint-staged": "^10.5.4",