@sequencemedia/eslint-config-standard 0.2.56 → 0.2.57
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.
|
@@ -7,8 +7,8 @@ import merge from '@sequencemedia/eslint-merge'
|
|
|
7
7
|
import eslintConfig from '#eslint-config-standard/configs/recommended'
|
|
8
8
|
|
|
9
9
|
/**
|
|
10
|
-
*
|
|
11
|
-
*
|
|
10
|
+
* @param {Config} config
|
|
11
|
+
* @returns {Config}
|
|
12
12
|
*/
|
|
13
13
|
export default function mergeESLintConfigWith (config) {
|
|
14
14
|
return (
|
|
@@ -7,8 +7,8 @@ import merge from '@sequencemedia/eslint-merge'
|
|
|
7
7
|
import eslintConfig from '#eslint-config-standard/configs/standard'
|
|
8
8
|
|
|
9
9
|
/**
|
|
10
|
-
*
|
|
11
|
-
*
|
|
10
|
+
* @param {Config} config
|
|
11
|
+
* @returns {Config}
|
|
12
12
|
*/
|
|
13
13
|
export default function mergeESLintConfigWith (config) {
|
|
14
14
|
return (
|
|
@@ -7,8 +7,8 @@ import merge from '@sequencemedia/eslint-merge'
|
|
|
7
7
|
import eslintConfig from '#eslint-config-standard/configs/stylistic'
|
|
8
8
|
|
|
9
9
|
/**
|
|
10
|
-
*
|
|
11
|
-
*
|
|
10
|
+
* @param {Config} config
|
|
11
|
+
* @returns {Config}
|
|
12
12
|
*/
|
|
13
13
|
export default function mergeESLintConfigWith (config) {
|
|
14
14
|
return (
|
package/merge.mjs
CHANGED
|
@@ -5,24 +5,24 @@ import getMapMerge from '@sequencemedia/eslint-merge/get-map-merge'
|
|
|
5
5
|
import eslintConfig from './index.mjs'
|
|
6
6
|
|
|
7
7
|
/**
|
|
8
|
-
*
|
|
9
|
-
*
|
|
8
|
+
* @param {Config} config
|
|
9
|
+
* @returns {boolean}
|
|
10
10
|
*/
|
|
11
11
|
function include ({ name }) {
|
|
12
12
|
return name === '@sequencemedia/eslint-config-standard'
|
|
13
13
|
}
|
|
14
14
|
|
|
15
15
|
/**
|
|
16
|
-
*
|
|
17
|
-
*
|
|
16
|
+
* @param {Config} config
|
|
17
|
+
* @returns {boolean}
|
|
18
18
|
*/
|
|
19
19
|
function exclude ({ name }) {
|
|
20
20
|
return name !== '@sequencemedia/eslint-config-standard'
|
|
21
21
|
}
|
|
22
22
|
|
|
23
23
|
/**
|
|
24
|
-
*
|
|
25
|
-
*
|
|
24
|
+
* @param {Config} config
|
|
25
|
+
* @returns {Config[]}
|
|
26
26
|
*/
|
|
27
27
|
export default function mergeESLintConfigWith (config) {
|
|
28
28
|
return (
|
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.57",
|
|
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.24",
|
|
55
55
|
"@stylistic/eslint-plugin": "^4.2.0",
|
|
56
56
|
"eslint-plugin-import": "^2.31.0",
|
|
57
|
-
"eslint-plugin-n": "^17.
|
|
57
|
+
"eslint-plugin-n": "^17.18.0",
|
|
58
58
|
"eslint-plugin-promise": "^7.2.1",
|
|
59
59
|
"globals": "^16.1.0"
|
|
60
60
|
},
|