@ethang/eslint-config 19.8.5 → 19.8.7

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/README.md CHANGED
@@ -5,14 +5,14 @@
5
5
  > [!CAUTION]
6
6
  > Do not use this with Prettier! Styling rules are included.
7
7
 
8
- - 887 errored rules.
8
+ - 886 errored rules.
9
9
  - 289 rules from [eslint-plugin-sonarjs](https://github.com/SonarSource/SonarJS/blob/master/packages/jsts/src/rules/README.md)
10
10
  - 144 rules from [@eslint/js](https://github.com/eslint/eslint/tree/main/packages/js)
11
11
  - 113 rules from [sindresorhus/eslint-plugin-unicorn](https://github.com/sindresorhus/eslint-plugin-unicorn)
12
12
  - 103 rules from [@typescript/eslint](https://github.com/typescript-eslint/typescript-eslint)
13
13
  - 67 rules from [@stylistic/eslint-plugin](https://eslint.style/)
14
14
  - 42 rules from [eslint-plugin-lodash](https://github.com/wix-incubator/eslint-plugin-lodash)
15
- - 35 rules from [jsx-a11y](https://github.com/jsx-eslint/eslint-plugin-jsx-a11y)
15
+ - 34 rules from [jsx-a11y](https://github.com/jsx-eslint/eslint-plugin-jsx-a11y)
16
16
  - 25 rules from [@stylistic/eslint-plugin-ts](https://eslint.style/)
17
17
  - 20 rules from [eslint-plugin-n](https://github.com/eslint-community/eslint-plugin-n)
18
18
  - 20 rules from [eslint-plugin-perfectionist](https://github.com/azat-io/eslint-plugin-perfectionist)
package/eslint.config.js CHANGED
@@ -1164,7 +1164,7 @@ export default tseslint.config(
1164
1164
  "a11y/aria-unsupported-elements": "error",
1165
1165
  "a11y/autocomplete-valid": "error",
1166
1166
  "a11y/click-events-have-key-events": "error",
1167
- "a11y/control-has-associated-label": "error",
1167
+ "a11y/control-has-associated-label": "off",
1168
1168
  "a11y/heading-has-content": "error",
1169
1169
  "a11y/html-has-lang": "error",
1170
1170
  "a11y/iframe-has-title": "error",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ethang/eslint-config",
3
- "version": "19.8.5",
3
+ "version": "19.8.7",
4
4
  "repository": {
5
5
  "url": "git+https://github.com/eglove/eslint-config-ethang.git"
6
6
  },
@@ -21,7 +21,7 @@
21
21
  "@eslint/markdown": "^6.1.0",
22
22
  "@stylistic/eslint-plugin": "^2.8.0",
23
23
  "@stylistic/eslint-plugin-ts": "^2.8.0",
24
- "@tanstack/eslint-plugin-query": "^5.57.1",
24
+ "@tanstack/eslint-plugin-query": "^5.58.1",
25
25
  "@tanstack/eslint-plugin-router": "^1.58.6",
26
26
  "@typescript-eslint/parser": "^8.7.0",
27
27
  "eslint": "^9.11.1",
@@ -49,7 +49,7 @@
49
49
  "@types/eslint-plugin-jsx-a11y": "^6.9.0",
50
50
  "@types/eslint-plugin-tailwindcss": "^3.17.0",
51
51
  "@types/eslint__js": "^8.42.3",
52
- "@types/node": "^22.6.1",
52
+ "@types/node": "^22.7.3",
53
53
  "prettier": "^3.3.3"
54
54
  },
55
55
  "peerDependencies": {
@@ -61,7 +61,7 @@
61
61
  "@eslint/markdown": "^6.1.0",
62
62
  "@stylistic/eslint-plugin": "^2.8.0",
63
63
  "@stylistic/eslint-plugin-ts": "^2.8.0",
64
- "@tanstack/eslint-plugin-query": "^5.57.1",
64
+ "@tanstack/eslint-plugin-query": "^5.58.1",
65
65
  "@tanstack/eslint-plugin-router": "^1.58.6",
66
66
  "@typescript-eslint/parser": "^8.7.0",
67
67
  "eslint": "^9.11.1",
package/setup/a11y.ts CHANGED
@@ -4,6 +4,11 @@ import { genRules, getNonDeprecatedRules } from "./gen-rules.ts";
4
4
 
5
5
  const ruleNames = Object.keys(getNonDeprecatedRules(a11y.rules ?? {}));
6
6
  const customRules = [
7
+ {
8
+ // throws false positives
9
+ name: "control-has-associated-label",
10
+ rule: "off",
11
+ },
7
12
  {
8
13
  name: "media-has-caption",
9
14
  rule: "off",