@pumpn/eslint-config 15.4.0 → 15.5.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.
@@ -1,7 +1,5 @@
1
1
  {
2
2
  "deno.enable": true,
3
3
  "deno.lint": false,
4
- "deno.unstable": true,
5
- "eslint.experimental.useFlatConfig": true,
6
4
  "eslint.useESLintClass": true
7
5
  }
package/deno.json CHANGED
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "@pumpn/eslint-config",
3
- "version": "15.4.0",
3
+ "version": "15.5.2",
4
4
  "exports": "./config.js",
5
5
  "tasks": {
6
6
  "lint": "deno run -A npm:eslint",
7
7
  "docs": "jsdoc --configure jsdoc.json",
8
- "publish": "VERSION=$(cat deno.json | jq -r .version) && git tag -a \"v$VERSION\" -m \"\" && git push origin \"v$VERSION\" && deno publish --no-check && npm publish",
8
+ "publish": "deno task lint && VERSION=$(cat deno.json | jq -r .version) && git tag -a \"v$VERSION\" -m \"\" && git push origin \"v$VERSION\" && deno publish --no-check && npm publish",
9
9
  "update-import-map": "deno run -A ./scripts/update-import-map.js",
10
10
  "update-tsconfig": "deno run -A ./scripts/update-tsconfig.js"
11
11
  },
package/deno.lock CHANGED
@@ -1,7 +1,6 @@
1
1
  {
2
2
  "version": "4",
3
3
  "specifiers": {
4
- "jsr:@std/path@1": "1.0.6",
5
4
  "npm:@eslint-community/eslint-plugin-eslint-comments@^4.4.0": "4.4.0_eslint@9.13.0",
6
5
  "npm:@eslint-react/eslint-plugin@^1.15.0": "1.15.0_eslint@9.13.0",
7
6
  "npm:@stylistic/eslint-plugin@^2.9.0": "2.9.0_eslint@9.13.0",
@@ -23,13 +22,7 @@
23
22
  "npm:eslint-plugin-unicorn@56": "56.0.0_eslint@9.13.0",
24
23
  "npm:eslint@*": "9.13.0",
25
24
  "npm:eslint@^9.13.0": "9.13.0",
26
- "npm:globals@^15.11.0": "15.11.0",
27
- "npm:globals@^15.9.0": "15.11.0"
28
- },
29
- "jsr": {
30
- "@std/path@1.0.6": {
31
- "integrity": "ab2c55f902b380cf28e0eec501b4906e4c1960d13f00e11cfbcd21de15f18fed"
32
- }
25
+ "npm:globals@^15.11.0": "15.11.0"
33
26
  },
34
27
  "npm": {
35
28
  "@alloc/quick-lru@5.2.0": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pumpn/eslint-config",
3
- "version": "15.4.0",
3
+ "version": "15.5.2",
4
4
  "description": "standard eslint config for pumpn code projects",
5
5
  "main": "config.js",
6
6
  "author": "Nano Miratus <nanomiratus@gmail.com>",
@@ -41,7 +41,7 @@
41
41
  "globals": "^15.11.0"
42
42
  },
43
43
  "peerDependencies": {
44
- "eslint": "^9.9.0"
44
+ "eslint": "^9.13.0"
45
45
  },
46
46
  "overrides": {
47
47
  "@typescript-eslint/type-utils": "^8.11.0",
@@ -31,7 +31,8 @@ const perfectionistRules = {
31
31
  ["protected-method", "protected-function-property"],
32
32
  ["private-method", "private-function-property"],
33
33
  "unknown"
34
- ]
34
+ ],
35
+ partitionByComment: false
35
36
  }
36
37
  ],
37
38
  "perfectionist/sort-enums": ["error"],
@@ -90,7 +91,7 @@ const perfectionistRules = {
90
91
  ],
91
92
  "perfectionist/sort-maps": ["error"],
92
93
  "perfectionist/sort-named-exports": ["error"],
93
- "perfectionist/sort-named-imports": ["error"],
94
+ "perfectionist/sort-named-imports": ["error", { partitionByComment: false }],
94
95
  "perfectionist/sort-object-types": ["error"],
95
96
  "perfectionist/sort-objects": [
96
97
  "error",
@@ -181,7 +182,7 @@ const perfectionistRules = {
181
182
  "perfectionist/sort-sets": ["error"],
182
183
  "perfectionist/sort-switch-case": ["error"],
183
184
  "perfectionist/sort-union-types": ["error"],
184
- "perfectionist/sort-variable-declarations": ["error"]
185
+ "perfectionist/sort-variable-declarations": ["error", { partitionByComment: false }]
185
186
  };
186
187
 
187
188
  export default perfectionistRules;
@@ -125,10 +125,15 @@ const suggestionsRules = {
125
125
  enforceConst: false,
126
126
  ignore: [
127
127
  -1,
128
+ "-1n",
128
129
  0,
130
+ "0n",
129
131
  1,
132
+ "1n",
130
133
  2,
131
- 10
134
+ "2n",
135
+ 10,
136
+ "10n"
132
137
  ],
133
138
  ignoreArrayIndexes: false,
134
139
  ignoreClassFieldInitialValues: true,