Skip to content

Commit

Permalink
eslint-config 0.3.4
Browse files Browse the repository at this point in the history
Update deps
Make sure the config works with more up-to-date plugins
README.md
- Fix instructions `.eslintrc.cjs` to make transition with ES modules smoother
- `install-peerdeps` does not need to be installed, prefix with `npx`

Signed-off-by: Phoenix35 <phoenix35.npm-public@yahoo.com>
  • Loading branch information
Phoenix35 committed Jun 19, 2021
1 parent 33cb6a9 commit 82b2896
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ if (condition) doStuff(); // beside

## First setup

1. Create a `.eslintrc.js` file.
1. Create a `.eslintrc.cjs` file.
```js
module.exports = {
"env": {
Expand Down Expand Up @@ -156,7 +156,7 @@ Works for Greasemonkey, Violentmonkey, Tampermonkey
# Install
You should have a `.eslintrc.js` file ready now.
You should have a `.eslintrc.cjs` file ready now.
Install these 3 packages in your project
```
$ npm i -D eslint
Expand All @@ -172,7 +172,7 @@ $ npm i -D eslint-plugin-node
Alternatively
```
install-peerdeps -D https://github.com/Phoenix35/eslint-config
npx install-peerdeps -D https://github.com/Phoenix35/eslint-config
```
(this will install the optional peer dependency `eslint-plugin-node` as well)
Expand Down
14 changes: 7 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@phoenix35/eslint-config",
"version": "0.3.3",
"version": "0.3.4",
"description": "Complete ESLint shareable config for beginners",
"main": "index.js",
"scripts": {
Expand All @@ -22,17 +22,17 @@
"url": "https://github.com/Phoenix35/eslint-config/issues"
},
"peerDependencies": {
"eslint": ">= 7.25.0",
"eslint-plugin-jsdoc": "^32.3.2",
"eslint-plugin-node": "^11.1.0"
"eslint": ">= 7.29.0",
"eslint-plugin-jsdoc": ">=35.3.0",
"eslint-plugin-node": ">=11.1.0"
},
"devDependencies": {
"eslint": "^7.25.0",
"eslint-plugin-jsdoc": "^32.3.2",
"eslint": "^7.29.0",
"eslint-plugin-jsdoc": "^35.3.0",
"eslint-plugin-node": "^11.1.0"
},
"engines": {
"node": ">= 14.16.1"
"node": ">= 14.17.1"
},
"author": "Phoenix35",
"license": "MPL-2.0"
Expand Down

0 comments on commit 82b2896

Please sign in to comment.