@evaneos/front-config 5.4.0 → 5.4.3
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/eslint/index.js +11 -7
- package/eslint/index.mjs +11 -7
- package/package.json +7 -2
package/eslint/index.js
CHANGED
|
@@ -3115,11 +3115,15 @@ var override_default = [
|
|
|
3115
3115
|
position: "before"
|
|
3116
3116
|
},
|
|
3117
3117
|
{
|
|
3118
|
-
|
|
3119
|
-
|
|
3120
|
-
|
|
3121
|
-
|
|
3122
|
-
|
|
3118
|
+
// matchBase: minimatch's `**/*.{ext}` glob fails to match relative
|
|
3119
|
+
// paths starting with `..` (minimatch treats `..` as a parent-dir
|
|
3120
|
+
// reference, not a path segment). matchBase ignores directories and
|
|
3121
|
+
// matches against the basename, so it catches every `*.css/scss/sass/less`
|
|
3122
|
+
// regardless of path depth (`./`, `../`, `../../`, bare modules, aliases).
|
|
3123
|
+
// nocomment is kept to preserve eslint-plugin-import's default behavior
|
|
3124
|
+
// (patternOptions completely replaces the default `{ nocomment: true }`).
|
|
3125
|
+
pattern: "*.{css,scss,sass,less}",
|
|
3126
|
+
patternOptions: { matchBase: true, nocomment: true },
|
|
3123
3127
|
group: "object"
|
|
3124
3128
|
}
|
|
3125
3129
|
],
|
|
@@ -3131,8 +3135,8 @@ var override_default = [
|
|
|
3131
3135
|
"parent",
|
|
3132
3136
|
"sibling",
|
|
3133
3137
|
"index",
|
|
3134
|
-
"
|
|
3135
|
-
"
|
|
3138
|
+
"type",
|
|
3139
|
+
"object"
|
|
3136
3140
|
],
|
|
3137
3141
|
warnOnUnassignedImports: true
|
|
3138
3142
|
}
|
package/eslint/index.mjs
CHANGED
|
@@ -3104,11 +3104,15 @@ var override_default = [
|
|
|
3104
3104
|
position: "before"
|
|
3105
3105
|
},
|
|
3106
3106
|
{
|
|
3107
|
-
|
|
3108
|
-
|
|
3109
|
-
|
|
3110
|
-
|
|
3111
|
-
|
|
3107
|
+
// matchBase: minimatch's `**/*.{ext}` glob fails to match relative
|
|
3108
|
+
// paths starting with `..` (minimatch treats `..` as a parent-dir
|
|
3109
|
+
// reference, not a path segment). matchBase ignores directories and
|
|
3110
|
+
// matches against the basename, so it catches every `*.css/scss/sass/less`
|
|
3111
|
+
// regardless of path depth (`./`, `../`, `../../`, bare modules, aliases).
|
|
3112
|
+
// nocomment is kept to preserve eslint-plugin-import's default behavior
|
|
3113
|
+
// (patternOptions completely replaces the default `{ nocomment: true }`).
|
|
3114
|
+
pattern: "*.{css,scss,sass,less}",
|
|
3115
|
+
patternOptions: { matchBase: true, nocomment: true },
|
|
3112
3116
|
group: "object"
|
|
3113
3117
|
}
|
|
3114
3118
|
],
|
|
@@ -3120,8 +3124,8 @@ var override_default = [
|
|
|
3120
3124
|
"parent",
|
|
3121
3125
|
"sibling",
|
|
3122
3126
|
"index",
|
|
3123
|
-
"
|
|
3124
|
-
"
|
|
3127
|
+
"type",
|
|
3128
|
+
"object"
|
|
3125
3129
|
],
|
|
3126
3130
|
warnOnUnassignedImports: true
|
|
3127
3131
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@evaneos/front-config",
|
|
3
|
-
"version": "5.4.
|
|
3
|
+
"version": "5.4.3",
|
|
4
|
+
"repository": {
|
|
5
|
+
"type": "git",
|
|
6
|
+
"url": "git+https://github.com/Evaneos/front-config.git"
|
|
7
|
+
},
|
|
4
8
|
"engines": {
|
|
5
9
|
"node": ">=v18",
|
|
6
10
|
"npm": ">=9"
|
|
@@ -17,7 +21,8 @@
|
|
|
17
21
|
"lint:check": "eslint -c ./eslint.config.ts",
|
|
18
22
|
"lint:fix": "eslint -c ./eslint.config.ts --fix",
|
|
19
23
|
"prettier:check": "prettier --check src/",
|
|
20
|
-
"prettier:fix": "prettier --write src/"
|
|
24
|
+
"prettier:fix": "prettier --write src/",
|
|
25
|
+
"test": "npm run build && find tests -name '*.test.mjs' -exec node --test {} +"
|
|
21
26
|
},
|
|
22
27
|
"devDependencies": {
|
|
23
28
|
"@commitlint/cli": "^19.4.0",
|