Skip to content

Commit

Permalink
Actually read the documentation
Browse files Browse the repository at this point in the history
- NodeJS rules got moved to yet-another-package
- Add the recommended `engines` attribute for eslint node plugin
  • Loading branch information
EnzoMartin committed Dec 29, 2020
1 parent 8777887 commit 6c400bc
Show file tree
Hide file tree
Showing 3 changed files with 44 additions and 3 deletions.
5 changes: 4 additions & 1 deletion .eslintrc
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
{
"extends": "eslint:recommended",
"extends": [
"eslint:recommended",
"plugin:node/recommended"
],
"parserOptions": {
"ecmaVersion": 11,
"sourceType": "script"
Expand Down
36 changes: 35 additions & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 5 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "enzo-codestyle",
"version": "6.3.1",
"version": "6.3.2",
"repository": "git@github.com:EnzoMartin/codestyle.git",
"description": "Enzo's ESLint configuration",
"author": "Enzo Martin <enzo.r.martin@gmail.com>",
Expand All @@ -12,10 +12,14 @@
"dependencies": {
"eslint": "^7.16.0",
"eslint-plugin-jsx-a11y": "^6.4.1",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-react": "^7.21.5",
"estraverse-fb": "^1.3.2"
},
"peerDependencies": {
"eslint": "^7.16.0"
},
"engines": {
"node" : ">=12.0.0"
}
}

0 comments on commit 6c400bc

Please sign in to comment.