11
0
Fork 0
mirror of https://github.com/wagoid/commitlint-github-action.git synced 2026-04-08 02:24:18 +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

10
.eslintrc.json Normal file
View file

@ -0,0 +1,10 @@
{
"extends": ["airbnb-base", "prettier", "plugin:node/recommended"],
"plugins": ["prettier"],
"rules": {
"prettier/prettier": "error",
"no-console": "off",
"no-process-exit": "off",
"node/no-unpublished-require": "off"
}
}