@forsakringskassan/eslint-config 13.0.1 → 13.0.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/index.mjs +12 -1
- package/package.json +2 -2
package/index.mjs
CHANGED
|
@@ -234,12 +234,23 @@ export default [
|
|
|
234
234
|
* yet */
|
|
235
235
|
defineConfig({
|
|
236
236
|
name: "@forsakringskassan/eslint-config/legacy-dts",
|
|
237
|
-
files: ["packages/*/*.d.ts"],
|
|
237
|
+
files: ["*.d.ts", "packages/*/*.d.ts"],
|
|
238
238
|
rules: {
|
|
239
239
|
"import/no-unresolved": "off",
|
|
240
240
|
},
|
|
241
241
|
}),
|
|
242
242
|
|
|
243
|
+
defineConfig({
|
|
244
|
+
name: "@forsakringskassan/eslint-config/bin",
|
|
245
|
+
files: ["bin/*.{js,cjs,mjs}"],
|
|
246
|
+
rules: {
|
|
247
|
+
/* esm requires the usage of extension in this context */
|
|
248
|
+
"import/extensions": "off",
|
|
249
|
+
/* needed to run eslint before sources are compiled to dist folder */
|
|
250
|
+
"import/no-unresolved": "off",
|
|
251
|
+
},
|
|
252
|
+
}),
|
|
253
|
+
|
|
243
254
|
/* E2E tests may import pageobjects from monorepo packages but the import
|
|
244
255
|
* plugin wont resolve them, yielding lots of false positives */
|
|
245
256
|
{
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@forsakringskassan/eslint-config",
|
|
3
|
-
"version": "13.0.
|
|
3
|
+
"version": "13.0.2",
|
|
4
4
|
"description": "Försäkringskassans eslint shareable config",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"eslint"
|
|
@@ -41,5 +41,5 @@
|
|
|
41
41
|
"engines": {
|
|
42
42
|
"node": ">= 22.0"
|
|
43
43
|
},
|
|
44
|
-
"gitHead": "
|
|
44
|
+
"gitHead": "99ad23a49dac0b99b44be7190639b0dfb5d27355"
|
|
45
45
|
}
|