@forsakringskassan/eslint-config 14.0.1 → 14.0.4

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.
Files changed (2) hide show
  1. package/index.mjs +14 -0
  2. package/package.json +2 -2
package/index.mjs CHANGED
@@ -456,6 +456,20 @@ export default [
456
456
  },
457
457
  }),
458
458
 
459
+ defineConfig({
460
+ /* pageobjects and selectors are related to components and should always be PascalCase */
461
+ name: "@forsakringskassan/eslint-config/pageobjects",
462
+ files: ["**/*.pageobject.ts", "**/*.selectors.ts"],
463
+ rules: {
464
+ "unicorn/filename-case": [
465
+ "error",
466
+ {
467
+ case: "pascalCase",
468
+ },
469
+ ],
470
+ },
471
+ }),
472
+
459
473
  /* These legacy files points to compiled files which may or may not exist
460
474
  * yet */
461
475
  defineConfig({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@forsakringskassan/eslint-config",
3
- "version": "14.0.1",
3
+ "version": "14.0.4",
4
4
  "description": "Försäkringskassans eslint shareable config",
5
5
  "keywords": [
6
6
  "eslint"
@@ -42,5 +42,5 @@
42
42
  "engines": {
43
43
  "node": ">= 22.0"
44
44
  },
45
- "gitHead": "36916f8937a0f0126604e7c773253e615d703db6"
45
+ "gitHead": "4ef1273d2df8924f81cef274a3c58e4d7280ae56"
46
46
  }