@fullstacksjs/eslint-config 11.7.0 → 11.7.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.
package/cjs/modules/ignore.js
CHANGED
|
@@ -4,14 +4,13 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
|
|
7
|
+
var _config = require("eslint/config");
|
|
7
8
|
var _globs = require("../utils/globs.js");
|
|
8
9
|
/**
|
|
9
10
|
* @param { import('../option').Options } options
|
|
10
11
|
* @return { import('eslint').Linter.Config }
|
|
11
12
|
*/
|
|
12
13
|
function ignores(options = {}) {
|
|
13
|
-
return
|
|
14
|
-
ignores: [..._globs.ignoreGlobs, ...(options.ignores ?? [])]
|
|
15
|
-
};
|
|
14
|
+
return (0, _config.globalIgnores)([..._globs.ignoreGlobs, ...options.ignores]);
|
|
16
15
|
}
|
|
17
16
|
module.exports = ignores;
|
package/cjs/modules/stylistic.js
CHANGED
|
@@ -16,7 +16,7 @@ function stylistic() {
|
|
|
16
16
|
'@stylistic': _eslintPlugin.default
|
|
17
17
|
},
|
|
18
18
|
rules: {
|
|
19
|
-
'@stylistic/jsx
|
|
19
|
+
'@stylistic/jsx-curly-brace-presence': ['warn', {
|
|
20
20
|
props: 'never',
|
|
21
21
|
children: 'never',
|
|
22
22
|
propElementValues: 'always'
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fullstacksjs/eslint-config",
|
|
3
|
-
"version": "11.7.
|
|
3
|
+
"version": "11.7.2",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"author": "fullstacks <fullstacksjs@gmail.com>",
|
|
6
6
|
"description": "fullstacks eslint config",
|
|
@@ -54,28 +54,28 @@
|
|
|
54
54
|
"eslint-plugin-tailwindcss": "3.18.0",
|
|
55
55
|
"eslint-plugin-vitest": "0.5.4",
|
|
56
56
|
"globals": "16.0.0",
|
|
57
|
-
"local-pkg": "1.
|
|
57
|
+
"local-pkg": "1.1.1",
|
|
58
58
|
"typescript-eslint": "8.25.0"
|
|
59
59
|
},
|
|
60
60
|
"devDependencies": {
|
|
61
61
|
"@eslint/eslintrc": "3.3.0",
|
|
62
|
-
"@eslint/js": "9.
|
|
62
|
+
"@eslint/js": "9.22.0",
|
|
63
63
|
"@semantic-release/github": "11.0.1",
|
|
64
64
|
"@semantic-release/npm": "12.0.1",
|
|
65
65
|
"@semantic-release/release-notes-generator": "14.0.3",
|
|
66
66
|
"@types/eslint": "9.6.1",
|
|
67
67
|
"cspell": "8.17.5",
|
|
68
|
-
"eslint": "9.
|
|
68
|
+
"eslint": "9.22.0",
|
|
69
69
|
"eslint-find-rules": "5.0.0",
|
|
70
70
|
"husky": "9.1.7",
|
|
71
71
|
"jest": "29.7.0",
|
|
72
|
-
"lint-staged": "15.
|
|
72
|
+
"lint-staged": "15.5.0",
|
|
73
73
|
"np": "10.2.0",
|
|
74
74
|
"npm-run-all": "4.1.5",
|
|
75
75
|
"pinst": "3.0.0",
|
|
76
|
-
"prettier": "3.5.
|
|
76
|
+
"prettier": "3.5.3",
|
|
77
77
|
"semantic-release": "24.2.3",
|
|
78
|
-
"typescript": "5.
|
|
78
|
+
"typescript": "5.8.2",
|
|
79
79
|
"unbuild": "3.5.0"
|
|
80
80
|
},
|
|
81
81
|
"peerDependencies": {
|
package/src/modules/ignore.mjs
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
+
import { globalIgnores } from 'eslint/config';
|
|
2
|
+
|
|
1
3
|
import { ignoreGlobs } from '../utils/globs.mjs';
|
|
2
4
|
/**
|
|
3
5
|
* @param { import('../option').Options } options
|
|
4
6
|
* @return { import('eslint').Linter.Config }
|
|
5
7
|
*/
|
|
6
8
|
function ignores(options = {}) {
|
|
7
|
-
return
|
|
8
|
-
ignores: [...ignoreGlobs, ...(options.ignores ?? [])],
|
|
9
|
-
};
|
|
9
|
+
return globalIgnores([...ignoreGlobs, ...options.ignores]);
|
|
10
10
|
}
|
|
11
11
|
|
|
12
12
|
export default ignores;
|
|
@@ -8,7 +8,7 @@ function stylistic() {
|
|
|
8
8
|
return {
|
|
9
9
|
plugins: { '@stylistic': stylisticPlugin },
|
|
10
10
|
rules: {
|
|
11
|
-
'@stylistic/jsx
|
|
11
|
+
'@stylistic/jsx-curly-brace-presence': ['warn', { props: 'never', children: 'never', propElementValues: 'always' }],
|
|
12
12
|
},
|
|
13
13
|
};
|
|
14
14
|
}
|