@eslint-recommended/eslint-config 6.0.0 → 7.0.0

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 +28 -5
  2. package/package.json +5 -5
package/README.md CHANGED
@@ -1,5 +1,6 @@
1
1
  [![npm version](https://badge.fury.io/js/%40eslint-recommended%2Feslint-config.svg)](https://badge.fury.io/js/%40eslint-recommended%2Feslint-config)
2
2
  [![lint](https://github.com/eslint-recommended/eslint-config/actions/workflows/lint.yml/badge.svg)](https://github.com/eslint-recommended/eslint-config/actions/workflows/lint.yml)
3
+ [![ESLint Recommended](https://img.shields.io/badge/eslint-recommended-%234B32C3)](https://github.com/eslint-recommended)
3
4
 
4
5
  # @eslint-recommended/eslint-config
5
6
 
@@ -27,10 +28,32 @@ npm i -D @eslint-recommended/eslint-config
27
28
 
28
29
  Add `@eslint-recommended` to `extends` of your ESLint config.
29
30
 
30
- ```json
31
- {
32
- "extends": [
33
- "@eslint-recommended"
34
- ]
31
+ ```js
32
+ module.exports = {
33
+ extends: [
34
+ '@eslint-recommended'
35
+ // add other rulesets here if needed
36
+ ],
37
+ rules: {
38
+ // override/add rules settings here if needed
39
+ }
35
40
  }
36
41
  ```
42
+
43
+ ## Badge
44
+
45
+ You can use below badge to show that your project is using ESLint Recommended.
46
+
47
+ [![ESLint Recommended](https://img.shields.io/badge/eslint-recommended-%234B32C3)](https://github.com/eslint-recommended)
48
+
49
+ Markdown:
50
+
51
+ ```md
52
+ [![ESLint Recommended](https://img.shields.io/badge/eslint-recommended-%234B32C3)](https://github.com/eslint-recommended)
53
+ ```
54
+
55
+ HTML:
56
+
57
+ ```html
58
+ <a href="https://github.com/eslint-recommended"><img src="https://img.shields.io/badge/eslint-recommended-%234B32C3" alt="ESLint Recommended"></a>
59
+ ```
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eslint-recommended/eslint-config",
3
- "version": "6.0.0",
3
+ "version": "7.0.0",
4
4
  "description": "Recommended ESLint Shareable Config for JavaScript",
5
5
  "scripts": {
6
6
  "lint": "eslint '**/*.js'",
@@ -18,15 +18,15 @@
18
18
  "eslint-plugin-eslint-comments": "^3.0.0",
19
19
  "eslint-plugin-jsdoc": "^40.0.0",
20
20
  "eslint-plugin-sonarjs": "^0.18.0",
21
- "eslint-plugin-unicorn": "^45.0.0"
21
+ "eslint-plugin-unicorn": "^46.0.0"
22
22
  },
23
23
  "devDependencies": {
24
- "eslint": "8.34.0",
24
+ "eslint": "8.36.0",
25
25
  "eslint-config-standard": "17.0.0",
26
26
  "eslint-plugin-eslint-comments": "3.2.0",
27
- "eslint-plugin-jsdoc": "40.0.0",
27
+ "eslint-plugin-jsdoc": "40.0.3",
28
28
  "eslint-plugin-sonarjs": "0.18.0",
29
- "eslint-plugin-unicorn": "45.0.2"
29
+ "eslint-plugin-unicorn": "46.0.0"
30
30
  },
31
31
  "repository": {
32
32
  "type": "git",