@eslint-recommended/eslint-config 26.0.1 → 26.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +30 -6
  2. package/package.json +2 -2
package/README.md CHANGED
@@ -35,19 +35,43 @@ Yarn:
35
35
  yarn add -D @eslint-recommended/eslint-config
36
36
  ```
37
37
 
38
+ pnpm:
39
+
40
+ ```sh
41
+ pnpm add -D @eslint-recommended/eslint-config
42
+ ```
43
+
38
44
  ## Usage
39
45
 
40
46
  Add `@eslint-recommended` to the `extends` section of your [ESLint configuration file](https://eslint.org/docs/latest/use/configure/configuration-files-deprecated).
41
47
 
42
- ```js
48
+ JavaScript:
49
+
50
+ ```javascript
43
51
  module.exports = {
44
52
  extends: [
45
53
  '@eslint-recommended'
46
54
  // add other rulesets here if needed
47
- ],
48
- rules: {
49
- // override/add rules settings here if needed
50
- }
55
+ ]
56
+ }
57
+ ```
58
+
59
+ YAML:
60
+
61
+ ```yaml
62
+ extends:
63
+ - @eslint-recommended
64
+ # add other rulesets here if needed
65
+ ```
66
+
67
+ JSON:
68
+
69
+ ```jsonc
70
+ {
71
+ "extends": [
72
+ "@eslint-recommended"
73
+ // add other rulesets here if needed
74
+ ]
51
75
  }
52
76
  ```
53
77
 
@@ -69,6 +93,6 @@ HTML:
69
93
  <a href="https://github.com/eslint-recommended"><img src="https://img.shields.io/badge/eslint-recommended-%234B32C3" alt="ESLint Recommended"></a>
70
94
  ```
71
95
 
72
- ## Related packages
96
+ ## Related Packages
73
97
 
74
98
  - [@eslint-recommended/eslint-config-typescript](https://www.npmjs.com/package/@eslint-recommended/eslint-config-typescript)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eslint-recommended/eslint-config",
3
- "version": "26.0.1",
3
+ "version": "26.0.2",
4
4
  "description": "Recommended ESLint Shareable Config for JavaScript",
5
5
  "scripts": {
6
6
  "lint": "eslint '**/*.{js,mjs,cjs}'",
@@ -24,7 +24,7 @@
24
24
  "@eslint-community/eslint-plugin-eslint-comments": "4.3.0",
25
25
  "eslint": "8.57.0",
26
26
  "eslint-config-standard": "17.1.0",
27
- "eslint-plugin-jsdoc": "48.2.5",
27
+ "eslint-plugin-jsdoc": "48.2.6",
28
28
  "eslint-plugin-sonarjs": "0.25.1",
29
29
  "eslint-plugin-unicorn": "53.0.0"
30
30
  },