Skip to content

Commit

Permalink
chore: update internal lint dependencies (#16088)
Browse files Browse the repository at this point in the history
  • Loading branch information
bmish committed Jul 4, 2022
1 parent 9615a42 commit eee4306
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 10 deletions.
2 changes: 2 additions & 0 deletions .eslintrc.js
Expand Up @@ -78,6 +78,8 @@ module.exports = {
"plugin:eslint-plugin/rules-recommended"
],
rules: {
"eslint-plugin/no-missing-message-ids": "error",
"eslint-plugin/no-unused-message-ids": "error",
"eslint-plugin/prefer-message-ids": "error",
"eslint-plugin/prefer-placeholders": "error",
"eslint-plugin/prefer-replace-text": "error",
Expand Down
6 changes: 3 additions & 3 deletions README.md
Expand Up @@ -47,19 +47,19 @@ Prerequisites: [Node.js](https://nodejs.org/) (`^12.22.0`, `^14.17.0`, or `>=16.

You can install ESLint using npm:

```sh
```shell
npm install eslint --save-dev
```

You should then set up a configuration file:

```sh
```shell
npm init @eslint/config
```

After that, you can run ESLint on any file or directory like this:

```sh
```shell
./node_modules/.bin/eslint yourfile.js
```

Expand Down
8 changes: 4 additions & 4 deletions package.json
Expand Up @@ -102,9 +102,9 @@
"eslint": "file:.",
"eslint-config-eslint": "file:packages/eslint-config-eslint",
"eslint-plugin-eslint-comments": "^3.2.0",
"eslint-plugin-eslint-plugin": "^4.2.0",
"eslint-plugin-eslint-plugin": "^4.4.0",
"eslint-plugin-internal-rules": "file:tools/internal-rules",
"eslint-plugin-jsdoc": "^37.0.0",
"eslint-plugin-jsdoc": "^38.1.6",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-unicorn": "^42.0.0",
"eslint-release": "^3.2.0",
Expand All @@ -123,8 +123,8 @@
"karma-webpack": "^5.0.0",
"lint-staged": "^11.0.0",
"load-perf": "^0.2.0",
"markdownlint": "^0.24.0",
"markdownlint-cli": "^0.30.0",
"markdownlint": "^0.25.1",
"markdownlint-cli": "^0.31.1",
"marked": "^4.0.8",
"memfs": "^3.0.1",
"metascraper": "^5.25.7",
Expand Down
8 changes: 6 additions & 2 deletions packages/eslint-config-eslint/README.md
Expand Up @@ -10,11 +10,15 @@ Contains the ESLint configuration used for projects maintained by the ESLint tea

You can install ESLint using npm:

npm install eslint --save-dev
```shell
npm install eslint --save-dev
```

Then install this configuration:

npm install eslint-config-eslint --save-dev
```shell
npm install eslint-config-eslint --save-dev
```

## Usage

Expand Down
2 changes: 1 addition & 1 deletion packages/eslint-config-eslint/package.json
Expand Up @@ -21,7 +21,7 @@
"bugs": "https://github.com/eslint/eslint/issues/",
"peerDependencies": {
"eslint-plugin-eslint-comments": ">=3.2.0",
"eslint-plugin-jsdoc": ">=36.0.6",
"eslint-plugin-jsdoc": ">=38.1.6",
"eslint-plugin-node": ">=11.1.0",
"eslint-plugin-unicorn": ">=42.0.0"
},
Expand Down

0 comments on commit eee4306

Please sign in to comment.