@html-validate/eslint-config 9.6.0 → 9.6.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 CHANGED
@@ -139,6 +139,7 @@ export default [
139
139
  ignore: ["^__(fixtures|mocks|snapshots|tests)__$", "^Gruntfile.js$"],
140
140
  },
141
141
  ],
142
+ "unicorn/prefer-minimal-ternary": "off", // situational, i dont think `foo[expr ? "x": "y"].bar` is more readable than `expr ? foo.x.bar : foo.y.bar`.
142
143
  "unicorn/import-style": "off", // off for now
143
144
  "unicorn/no-abusive-eslint-disable": "off", // covered by eslint-plugin-eslint-comments
144
145
  "unicorn/no-array-callback-reference": "off", // opinionated, prefer to allow passing function references to array methods (and for most part TypeScript will handle this)
@@ -291,6 +292,7 @@ export default [
291
292
  "sonarjs/concise-regex": "off", // already covered by unicorn/better-regex
292
293
  "sonarjs/deprecation": "off", // already covered by @typescript-eslint/no-deprecated
293
294
  "sonarjs/function-return-type": "off", // overly broad and opinionated, let TypeScript deal with this
295
+ "sonarjs/no-alphabetical-sort": "off", // covered by unicorn/require-array-sort-compare
294
296
  "sonarjs/no-commented-code": "off", // neat rule but is very very slow (over 50% of the total linting time)
295
297
  "sonarjs/no-control-regex": "off", // already covered by no-control-regexp
296
298
  "sonarjs/no-empty-test-file": "off", // could be useful but it does not handle it.each or similar constructs thus yields more false positives than its worth */
@@ -303,6 +305,7 @@ export default [
303
305
  "sonarjs/prefer-regexp-exec": "off", // prefer @typescript-eslint/prefer-regexp-exec
304
306
  "sonarjs/prefer-single-boolean-return": "off", // prefer to use multiple returns even for booleans (looks better and can yield performance increase
305
307
  "sonarjs/redundant-type-aliases": "off", // "redundant" type aliases helps with self-documenting code
308
+ "sonarjs/super-linear-regex": "off", // covered by regexp/no-super-linear-backtracking
306
309
  "sonarjs/todo-tag": "off", // want to be able to leave todo tasks
307
310
  "sonarjs/unused-import": "off", // already covered by @typescript-eslint/no-unused-vars
308
311
  "sonarjs/unused-named-groups": "off", // named groups can help readability even if not used
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@html-validate/eslint-config",
3
- "version": "9.6.0",
3
+ "version": "9.6.2",
4
4
  "description": "Eslint sharable config used by the various HTML-validate packages",
5
5
  "keywords": [
6
6
  "eslint"
@@ -65,5 +65,5 @@
65
65
  "publishConfig": {
66
66
  "access": "public"
67
67
  },
68
- "gitHead": "c70650aefb15e854e7de2837f52979a06d779da7"
68
+ "gitHead": "6045d29799fd8a4f063a19befe8c0720c8b20895"
69
69
  }