@ethang/eslint-config 18.1.4 → 18.1.5

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
@@ -2,13 +2,14 @@
2
2
 
3
3
  [View Config](https://eslint-config-ethang.pages.dev/rules)
4
4
 
5
- * 474 errored rules.
5
+ * 494 errored rules.
6
6
  * 142 rules from vanilla EsLint
7
7
  * 113 rules from [sindresorhus/eslint-plugin-unicorn](https://github.com/sindresorhus/eslint-plugin-unicorn)
8
8
  * 104 rules from [@typescript/eslint](https://github.com/typescript-eslint/typescript-eslint)
9
9
  * 35 rules from [jsx-a11y](https://github.com/jsx-eslint/eslint-plugin-jsx-a11y)
10
10
  * 32 rules from [eslint-plugin-sonarjs](https://github.com/SonarSource/eslint-plugin-sonarjs)
11
11
  * 20 rules from [eslint-plugin-n](https://github.com/eslint-community/eslint-plugin-n/tree/67bbfdf3c6862dcbfe455a4afbd83fa60f9d1ea4)
12
+ * 20 rules from [eslint-plugin-github](https://github.com/github/eslint-plugin-github)
12
13
  * 19 rules from [eslint-plugin-perfectionist](https://github.com/azat-io/eslint-plugin-perfectionist)
13
14
  * 4 rules from [eslint-plugin-barrel-files](https://github.com/thepassle/eslint-plugin-barrel-files)
14
15
  * 3 rules from [@tanstack/eslint-plugin-query](https://tanstack.com/query/latest/docs/eslint/eslint-plugin-query)
package/eslint.config.js CHANGED
@@ -10,6 +10,7 @@ import tanstack from "@tanstack/eslint-plugin-query";
10
10
  import perfectionist from "eslint-plugin-perfectionist";
11
11
  import depend from "eslint-plugin-depend";
12
12
  import barrel from "eslint-plugin-barrel-files";
13
+ import github from "eslint-plugin-github";
13
14
 
14
15
  export const languageOptions = {
15
16
  parser,
@@ -30,6 +31,7 @@ export default tseslint.config(eslintPluginPrettier, {
30
31
  a11y,
31
32
  barrel,
32
33
  depend,
34
+ github,
33
35
  n,
34
36
  perfectionist,
35
37
  sonar,
@@ -329,6 +331,26 @@ export default tseslint.config(eslintPluginPrettier, {
329
331
  "@typescript-eslint/unified-signatures": "error",
330
332
  "@typescript-eslint/use-unknown-in-catch-callback-variable": "error",
331
333
 
334
+ "github/a11y-no-visually-hidden-interactive-element": "error",
335
+ "github/a11y-no-title-attribute": "error",
336
+ "github/a11y-aria-label-is-well-formatted": "error",
337
+ "github/a11y-role-supports-aria-props": "error",
338
+ "github/a11y-svg-has-accessible-name": "error",
339
+ "github/array-foreach": "error",
340
+ "github/async-currenttarget": "error",
341
+ "github/async-preventdefault": "error",
342
+ "github/get-attribute": "error",
343
+ "github/no-blur": "error",
344
+ "github/no-dataset": "error",
345
+ "github/no-inner-html": "error",
346
+ "github/no-innerText": "error",
347
+ "github/no-dynamic-script-tag": "error",
348
+ "github/no-then": "error",
349
+ "github/no-useless-passive": "error",
350
+ "github/prefer-observers": "error",
351
+ "github/require-passive-events": "error",
352
+ "github/unescaped-html-literal": "error",
353
+
332
354
  "unicorn/better-regex": "error",
333
355
  "unicorn/catch-error-name": "error",
334
356
  "unicorn/consistent-destructuring": "error",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ethang/eslint-config",
3
- "version": "18.1.4",
3
+ "version": "18.1.5",
4
4
  "repository": {
5
5
  "url": "git+https://github.com/eglove/eslint-config-ethang.git"
6
6
  },
@@ -25,6 +25,7 @@
25
25
  "eslint-plugin-astro": "^1.2.3",
26
26
  "eslint-plugin-barrel-files": "^2.1.0",
27
27
  "eslint-plugin-depend": "^0.9.0",
28
+ "eslint-plugin-github": "^5.0.1",
28
29
  "eslint-plugin-jsx-a11y": "^6.9.0",
29
30
  "eslint-plugin-n": "^17.10.1",
30
31
  "eslint-plugin-perfectionist": "^3.1.0",
@@ -47,6 +48,7 @@
47
48
  "eslint-plugin-astro": "^1.2.3",
48
49
  "eslint-plugin-barrel-files": "^2.1.0",
49
50
  "eslint-plugin-depend": "^0.9.0",
51
+ "eslint-plugin-github": "^5.0.1",
50
52
  "eslint-plugin-jsx-a11y": "^6.9.0",
51
53
  "eslint-plugin-n": "^17.10.1",
52
54
  "eslint-plugin-perfectionist": "^3.1.0",