Skip to content

Commit

Permalink
Update ESLint config
Browse files Browse the repository at this point in the history
  • Loading branch information
ai committed Jun 1, 2024
1 parent 368d3b1 commit 7bc148e
Show file tree
Hide file tree
Showing 3 changed files with 755 additions and 930 deletions.
14 changes: 14 additions & 0 deletions eslint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
import loguxTsConfig from '@logux/eslint-config/ts'

/** @type {import('eslint').Linter.FlatConfig[]} */
export default [
{ ignores: ['**/errors.ts'] },
...loguxTsConfig,
{
rules: {
'@typescript-eslint/no-explicit-any': 'off',
'@typescript-eslint/unified-signatures': 'off',
'n/no-unsupported-features/node-builtins': 'off'
}
}
]
40 changes: 13 additions & 27 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,29 +40,28 @@
"react": ">=18.0.0"
},
"devDependencies": {
"@logux/eslint-config": "^52.0.2",
"@size-limit/preset-small-lib": "^11.0.2",
"@testing-library/react": "^14.2.1",
"@logux/eslint-config": "^53.2.0",
"@size-limit/preset-small-lib": "^11.1.4",
"@testing-library/react": "^15.0.7",
"@types/node": "^20.13.0",
"@types/react": "^18.3.3",
"@types/react-dom": "^18.2.19",
"@types/react-dom": "^18.3.0",
"@types/ws": "^8.5.10",
"@typescript-eslint/eslint-plugin": "^7.0.2",
"@typescript-eslint/parser": "^7.0.2",
"@typescript-eslint/eslint-plugin": "^7.11.0",
"@typescript-eslint/parser": "^7.11.0",
"better-node-test": "^0.5.1",
"c8": "^9.1.0",
"check-dts": "^0.7.2",
"clean-publish": "^4.2.0",
"eslint": "^8.56.0",
"check-dts": "^0.8.0",
"clean-publish": "^5.0.0",
"eslint": "^9.4.0",
"eslint-config-standard": "^17.1.0",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-n": "^16.6.2",
"eslint-plugin-n": "^17.7.0",
"eslint-plugin-node-import": "^1.0.4",
"eslint-plugin-perfectionist": "^2.5.0",
"eslint-plugin-perfectionist": "^2.10.0",
"eslint-plugin-prefer-let": "^3.0.1",
"eslint-plugin-promise": "^6.1.1",
"eslint-plugin-react-hooks": "^4.6.0",
"happy-dom": "^13.3.8",
"eslint-plugin-promise": "^6.2.0",
"happy-dom": "^14.12.0",
"nanodelay": "^2.0.2",
"nanostores": "^0.10.3",
"react": "^18.3.1",
Expand Down Expand Up @@ -93,19 +92,6 @@
"skip-full": true,
"clean": true
},
"eslintConfig": {
"extends": [
"@logux/eslint-config/ts",
"plugin:react-hooks/recommended"
],
"rules": {
"@typescript-eslint/unified-signatures": "off",
"@typescript-eslint/no-explicit-any": "off"
}
},
"eslintIgnore": [
"**/errors.ts"
],
"size-limit": [
{
"import": {
Expand Down
Loading

0 comments on commit 7bc148e

Please sign in to comment.