Skip to content

Commit

Permalink
v19.10.0
Browse files Browse the repository at this point in the history
  • Loading branch information
eglove committed Oct 3, 2024
1 parent f255eaa commit ac92bec
Show file tree
Hide file tree
Showing 4 changed files with 295 additions and 247 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@
> [!CAUTION]
> Do not use this with Prettier! Styling rules are included.
- 891 errored rules.
- 894 errored rules.
- 294 rules from [eslint-plugin-sonarjs](https://github.com/SonarSource/SonarJS/blob/master/packages/jsts/src/rules/README.md)
- 144 rules from [@eslint/js](https://github.com/eslint/eslint/tree/main/packages/js)
- 113 rules from [sindresorhus/eslint-plugin-unicorn](https://github.com/sindresorhus/eslint-plugin-unicorn)
- 116 rules from [sindresorhus/eslint-plugin-unicorn](https://github.com/sindresorhus/eslint-plugin-unicorn)
- 103 rules from [@typescript/eslint](https://github.com/typescript-eslint/typescript-eslint)
- 67 rules from [@stylistic/eslint-plugin](https://eslint.style/)
- 42 rules from [eslint-plugin-lodash](https://github.com/wix-incubator/eslint-plugin-lodash)
Expand Down
4 changes: 4 additions & 0 deletions eslint.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ export default tseslint.config(
"nextui",
"speculationrules",
"zustand",
"vinxi",
],
},
},
Expand Down Expand Up @@ -468,6 +469,7 @@ export default tseslint.config(
"unicorn/catch-error-name": "error",
"unicorn/consistent-destructuring": "error",
"unicorn/consistent-empty-array-spread": "error",
"unicorn/consistent-existence-index-check": "error",
"unicorn/consistent-function-scoping": "error",
"unicorn/custom-error-definition": "error",
"unicorn/empty-brace-spaces": "off",
Expand Down Expand Up @@ -543,10 +545,12 @@ export default tseslint.config(
"unicorn/prefer-dom-node-text-content": "error",
"unicorn/prefer-event-target": "error",
"unicorn/prefer-export-from": "error",
"unicorn/prefer-global-this": "error",
"unicorn/prefer-includes": "error",
"unicorn/prefer-json-parse-buffer": "error",
"unicorn/prefer-keyboard-event-key": "error",
"unicorn/prefer-logical-operator-over-ternary": "error",
"unicorn/prefer-math-min-max": "error",
"unicorn/prefer-math-trunc": "error",
"unicorn/prefer-modern-dom-apis": "error",
"unicorn/prefer-modern-math-apis": "error",
Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@ethang/eslint-config",
"version": "19.9.1",
"version": "19.10.0",
"repository": {
"url": "git+https://github.com/eglove/eslint-config-ethang.git"
},
Expand Down Expand Up @@ -37,7 +37,7 @@
"eslint-plugin-solid": "^0.14.3",
"eslint-plugin-sonarjs": "2.0.3",
"eslint-plugin-tailwindcss": "^3.17.4",
"eslint-plugin-unicorn": "^55.0.0",
"eslint-plugin-unicorn": "^56.0.0",
"typescript": "^5.6.2",
"typescript-eslint": "^8.8.0"
},
Expand Down Expand Up @@ -77,7 +77,7 @@
"eslint-plugin-solid": "^0.14.3",
"eslint-plugin-sonarjs": "2.0.3",
"eslint-plugin-tailwindcss": "^3.17.4",
"eslint-plugin-unicorn": "^55.0.0",
"eslint-plugin-unicorn": "^56.0.0",
"typescript": "^5.6.2",
"typescript-eslint": "^8.8.0"
},
Expand Down
Loading

0 comments on commit ac92bec

Please sign in to comment.