@sequencemedia/eslint-config-standard 0.2.4 → 0.2.5
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.
- package/README.md +12 -10
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -31,16 +31,18 @@ export default [
|
|
|
31
31
|
You can merge _changes_ in the default configuration using the `merge` utility:
|
|
32
32
|
|
|
33
33
|
```javascript
|
|
34
|
-
import merge from '@sequencemedia/eslint-config-standard/merge'
|
|
35
|
-
|
|
36
|
-
export default
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
34
|
+
import merge from '@sequencemedia/eslint-config-standard/configs/recommended/merge'
|
|
35
|
+
|
|
36
|
+
export default (
|
|
37
|
+
merge({
|
|
38
|
+
files: [
|
|
39
|
+
'**/*.{mjs,cjs}'
|
|
40
|
+
],
|
|
41
|
+
ignores: [
|
|
42
|
+
'lib'
|
|
43
|
+
]
|
|
44
|
+
})
|
|
45
|
+
)
|
|
44
46
|
```
|
|
45
47
|
|
|
46
48
|
Which is _equivalent to_:
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sequencemedia/eslint-config-standard",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.5",
|
|
4
4
|
"description": "Standard configuration for ESLint 9",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"JavaScript Standard Style",
|
|
@@ -54,7 +54,7 @@
|
|
|
54
54
|
"@sequencemedia/eslint-merge": "^0.0.4",
|
|
55
55
|
"@stylistic/eslint-plugin": "^2.12.0",
|
|
56
56
|
"eslint-plugin-import": "^2.31.0",
|
|
57
|
-
"eslint-plugin-n": "^17.
|
|
57
|
+
"eslint-plugin-n": "^17.15.0",
|
|
58
58
|
"eslint-plugin-promise": "^7.2.1",
|
|
59
59
|
"globals": "^15.13.0"
|
|
60
60
|
},
|