@ethang/eslint-config 19.0.5 → 19.0.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
@@ -4,8 +4,8 @@
4
4
 
5
5
  Do **NOT** use this with Prettier! Styling rules are included.
6
6
 
7
- * 900 errored rules.
8
- * 300 rules from [eslint-plugin-sonarjs](https://github.com/SonarSource/eslint-plugin-sonarjs)
7
+ * 888 errored rules.
8
+ * 288 rules from [eslint-plugin-sonarjs](https://github.com/SonarSource/eslint-plugin-sonarjs)
9
9
  * 140 rules from vanilla EsLint
10
10
  * 113 rules from [sindresorhus/eslint-plugin-unicorn](https://github.com/sindresorhus/eslint-plugin-unicorn)
11
11
  * 103 rules from [@typescript/eslint](https://github.com/typescript-eslint/typescript-eslint)
package/config.react.js CHANGED
@@ -14,8 +14,8 @@ export default tseslint.config({
14
14
  "react-hooks": reactHooks,
15
15
  },
16
16
  rules: {
17
- "react-hooks/exhaustive-deps": "error",
18
- "react-hooks/rules-of-hooks": "off", // fix w/ v9 compatibility
17
+ "react-hooks/exhaustive-deps": "off", // TODO fix w/ v9 compatibility
18
+ "react-hooks/rules-of-hooks": "off", // TODO fix w/ v9 compatibility
19
19
  "react/dom/no-children-in-void-dom-elements": "error",
20
20
  "react/dom/no-dangerously-set-innerhtml": "error",
21
21
  "react/dom/no-dangerously-set-innerhtml-with-children": "error",
package/eslint.config.js CHANGED
@@ -25,7 +25,7 @@ export const languageOptions = {
25
25
  export const ignores = ["eslint.config.js", "node_modules", "dist"];
26
26
 
27
27
  export default tseslint.config({
28
- files: ["**/*.{js,ts,jsx,tsx,cjs,cts,mjs,mts,css,html}"],
28
+ files: ["**/*.{js,ts,jsx,tsx,cjs,cts,mjs,mts}"],
29
29
  ignores,
30
30
  languageOptions,
31
31
  plugins: {
@@ -787,7 +787,7 @@ export default tseslint.config({
787
787
  "sonar/table-header": "error",
788
788
  "sonar/table-header-reference": "error",
789
789
  "sonar/test-check-exception": "error",
790
- "sonar/todo-tag": "error",
790
+ "sonar/todo-tag": "off", // Can be useful to leave
791
791
  "sonar/too-many-break-or-continue-in-loop": "error",
792
792
  "sonar/unicode-aware-regex": "error",
793
793
  "sonar/unnecessary-character-escapes": "error",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ethang/eslint-config",
3
- "version": "19.0.5",
3
+ "version": "19.0.7",
4
4
  "repository": {
5
5
  "url": "git+https://github.com/eglove/eslint-config-ethang.git"
6
6
  },