Commit Graph
100 Commits
Author SHA1 Message Date
theoludwig e59d48f713 build(deps): update latest 2025-10-08 17:00:11 +02:00
theoludwig b2f5a136f9 fix(oxlint): relax unicorn/no-array-sort 2025-10-04 19:17:18 +02:00
theoludwig fa724b4f97 fix(oxlint): relax import-x/no-named-as-default-member 2025-10-04 19:16:10 +02:00
theoludwig 1b70b62de1 fix(oxlint): relax import-x/no-unassigned-import 2025-09-26 19:59:58 +02:00
theoludwig 09493ef433 fix(oxlint): relax @typescript-eslint/no-unsafe-type-assertion 2025-09-25 07:59:20 +02:00
theoludwig a13aeadda8 fix(oxlint): enable back import rules
Ref: https://github.com/oxc-project/oxc/pull/14049
2025-09-25 07:58:02 +02:00
theoludwig 5817503919 fix: update .oxlintrc.json 2025-09-11 21:06:08 +02:00
theoludwig 23bb31949d fix: relax @typescript-eslint/no-dynamic-delete 2025-09-11 21:00:36 +02:00
theoludwig 911fadcf02 fix: relax @typescript-eslint/no-unnecessary-type-conversion 2025-09-11 20:57:39 +02:00
theoludwig 2d8260472a fix!: usage of eslint defineConfig()
Ref: https://typescript-eslint.io/packages/typescript-eslint/#migrating-to-defineconfig

BREAKING CHANGE: peerDependencies:
`eslint@^9.22.0`
`eslint-plugin-unicorn@^61.0.0`
2025-09-11 19:48:20 +02:00
theoludwig 929978af36 feat: support eslint-plugin-unicorn@^61.0.0 2025-09-08 08:27:35 +02:00
theoludwig 6f42dbcdbe fix: relax jsx-a11y rules in .oxlintrc.json 2025-08-28 12:41:17 +02:00
theoludwig 6cd0334469 fix: update .oxlintrc.json 2025-08-27 20:11:29 +02:00
theoludwig a014deeed6 fix: set peerDependencies as optional 2025-08-27 20:11:14 +02:00
theoludwig 91b66d24cd ci: remove commitlint (not useful) 2025-07-23 12:24:20 +02:00
theoludwig 6a11f2dbf6 fix: relax @typescript-eslint/no-floating-promises to include more allowForKnownSafeCalls for node:test
Ref: https://github.com/typescript-eslint/typescript-eslint/issues/11372
2025-07-23 12:21:59 +02:00
theoludwig 2876f22947 feat: support eslint-plugin-unicorn@^60.0.0 2025-07-22 11:06:33 +02:00
theoludwigandGitHub 910050f30d feat: export .oxlintrc.json (#7) 2025-06-10 14:13:47 +02:00
theoludwig 8953d875b5 style: fix prettier 2025-05-10 20:50:44 +02:00
theoludwig f45ab1dcbb feat: add unicorn/no-accessor-recursion
BREAKING CHANGE: New rule introduced
2025-05-10 20:44:46 +02:00
theoludwig 7bbac61906 feat: add unicorn/consistent-assert
BREAKING CHANGE: New rule introduced
2025-05-10 20:43:16 +02:00
theoludwig 3aacbbeec4 feat: add unicorn/no-unnecessary-array-flat-depth
BREAKING CHANGE: New rule introduced
2025-05-10 20:41:18 +02:00
theoludwig c4340efc6f feat: add @typescript-eslint/no-unnecessary-type-conversion
BREAKING CHANGE: New rule introduced
2025-05-10 20:40:01 +02:00
theoludwig 851c468748 build(deps): update peer dependencies
BREAKING CHANGE: peerDependencies:
`eslint-plugin-unicorn@^59.0.0`
`typescript-eslint@^8.32.0`
2025-05-10 20:38:17 +02:00
theoludwig 892a3f8302 build(deps): update latest 2025-05-10 19:37:48 +02:00
theoludwig 620f6ce442 build(deps): update latest 2025-05-02 19:57:03 +02:00
theoludwig 1000c38cb2 feat: support eslint-plugin-unicorn@^59.0.0 2025-05-02 19:55:11 +02:00
theoludwig 517778ac50 build(deps): update latest 2025-03-26 12:28:16 +01:00
theoludwig af99632f51 feat: support eslint-plugin-unicorn@^58.0.0 2025-03-26 12:26:05 +01:00
theoludwig 029a8d1757 feat: add unicorn/consistent-existence-index-check
BREAKING CHANGE: New rule introduced
2025-02-23 00:02:40 +01:00
theoludwig 20f48f93aa feat: add unicorn/no-named-default
BREAKING CHANGE: New rule introduced
2025-02-22 23:59:22 +01:00
theoludwig d5903f0e22 feat: add unicorn/consistent-date-clone
BREAKING CHANGE: New rule introduced
2025-02-22 23:58:16 +01:00
theoludwig 1ce9bcb87e feat: add unicorn/no-instanceof-builtins
BREAKING CHANGE: New rule introduced
2025-02-22 23:56:01 +01:00
theoludwig 51c17a84d4 build(deps): update peer dependencies
BREAKING CHANGE: peerDependencies:
`eslint@^9.21.0`
`eslint-plugin-promise@^7.2.1`
`eslint-plugin-unicorn@^57.0.0`
`eslint-plugin-import-x@^4.6.1`
`globals@^16.0.0`
`typescript-eslint@^8.24.1`
2025-02-22 23:50:22 +01:00
theoludwig 657b9a4bad feat: add no-extra-boolean-cast
BREAKING CHANGE: New rule introduced
2025-02-22 23:43:23 +01:00
theoludwig 31ab3e70a8 feat: add no-implicit-coercion
BREAKING CHANGE: New rule introduced
2025-02-22 23:42:35 +01:00
theoludwig ec16bb6eec build(deps): update latest 2025-02-22 23:41:04 +01:00
theoludwig fe7fddca13 fix: relax @typescript-eslint/unbound-method 2025-01-15 15:07:07 +01:00
theoludwig 42ae3ffe33 build(deps): update latest 2025-01-15 15:06:30 +01:00
theoludwig 8951ecc027 test: use describe and it 2025-01-06 23:17:18 +01:00
theoludwig 33c0f840ea build(deps): update latest 2025-01-06 23:12:38 +01:00
theoludwig d9733dc1c8 fix: relax @typescript-eslint/no-floating-promises for node:test
Ref: https://github.com/nodejs/node/issues/51292
2025-01-06 23:09:18 +01:00
theoludwig 5e63c17030 build(deps): update latest 2024-12-14 21:06:54 +01:00
theoludwig 9d91c09bea fix: relax no-unused-vars to match TypeScript style of exempting names
Ref: https://typescript-eslint.io/rules/no-unused-vars/
2024-12-02 19:27:56 +01:00
theoludwig e05233d429 fix: relax @typescript-eslint/array-type 2024-11-26 20:57:16 +01:00
theoludwig c4c1a7f5dd feat: add @typescript-eslint/explicit-member-accessibility
BREAKING CHANGE: New rule introduced
2024-11-23 15:44:42 +01:00
theoludwig adb164f604 build(deps): update latest 2024-11-11 20:46:20 +01:00
theoludwig 8ae05c8bee fix: relax unicorn/consistent-destructuring 2024-11-11 20:42:08 +01:00
theoludwig ee4897153d chore: remove not needed @ts-check 2024-11-11 20:40:36 +01:00
theoludwig 67ff8e18b2 ci: use Node.js lts/* 2024-11-11 20:39:36 +01:00
theoludwig d41573f12c docs: eslint.config.js 2024-10-29 23:48:40 +01:00
theoludwig 8efe22c23e fix: relax @typescript-eslint/no-unnecessary-condition 2024-10-22 11:47:11 +02:00
theoludwig 57f419c44a build(deps): update latest 2024-10-22 11:46:35 +02:00
theoludwig a578bb80ba docs: add // @ts-check to config example 2024-10-08 08:10:28 +02:00
theoludwig e32847fa3d chore: specify correct supported Node.js version
BREAKING CHANGE: Minimum supported Node.js >= 20.11.0

Ref: https://nodejs.org/api/esm.html#importmetadirname
2024-10-08 08:02:27 +02:00
theoludwig 1719cd18b3 ci: release beta 2024-10-07 17:46:08 +02:00
theoludwig 55a46104da feat!: add eslint-plugin-import-x rules
BREAKING CHANGE:
peerDependencies: `eslint-plugin-import-x@^4.3.1`

Fixes #3
2024-10-07 17:42:09 +02:00
theoludwig 66044cc8eb style: fix Prettier 2024-10-07 17:35:13 +02:00
theoludwig d9536865d8 feat!: add support for ESLint v9
Fixes #2

BREAKING CHANGE: peerDependencies:
`eslint@^9.12.0`
`eslint-plugin-promise@^7.1.0`
`eslint-plugin-unicorn@^56.0.0`
`globals@^15.10.0`
`typescript-eslint@^8.8.0`

BREAKING CHANGE: Node.js >= 20.9.0
2024-10-07 17:28:54 +02:00
theoludwig f258d5ab41 fix: relax @typescript-eslint/dot-notation 2024-09-28 20:10:49 +02:00
theoludwig 424235bd4f docs: specify TypeScript version with ~ to avoid issues with semver 2024-09-28 18:52:46 +02:00
theoludwig 7486e3aab6 build(deps): update latest
BREAKING CHANGE: peerDependencies:
`@typescript-eslint/eslint-plugin@^8.3.0`
`@typescript-eslint/parser@^8.3.0`
2024-09-28 18:50:44 +02:00
theoludwig 12f37d01b3 feat: add @typescript-eslint/no-unnecessary-condition
BREAKING CHANGE: New rule introduced
2024-09-25 18:02:43 +02:00
theoludwig 6af4b4f6ac feat: add @typescript-eslint/no-deprecated
BREAKING CHANGE: New rule introduced

Fixes #5
2024-09-25 17:52:28 +02:00
theoludwig b4f1c0b8dd feat: add @typescript-eslint/no-redundant-type-constituents
BREAKING CHANGE: New rule introduced
2024-09-25 16:44:52 +02:00
theoludwig 116c3c600a feat: add @typescript-eslint/no-unsafe-declaration-merging
BREAKING CHANGE: New rule introduced
2024-09-25 16:30:23 +02:00
theoludwig 4115843cc1 feat: add @typescript-eslint/unbound-method
BREAKING CHANGE: New rule introduced
2024-09-25 16:22:08 +02:00
theoludwig 14d3e0ba30 chore: usage of projectService for tsconfig.json 2024-09-18 00:32:33 +02:00
theoludwig 921aacdc9b test: easier to debug in case of failures 2024-09-18 00:29:14 +02:00
theoludwig a03e2bd109 fix: relax @typescript-eslint/return-await 2024-09-18 00:26:51 +02:00
theoludwig 2db017e805 test: ensure we do not use deprecated rules 2024-09-18 00:20:22 +02:00
theoludwig 19f74fc6a2 feat: add unicorn/prefer-structured-clone
BREAKING CHANGE: New rule introduced
2024-09-17 23:58:02 +02:00
theoludwig bcd9fe10d3 fix: remove deprecated TypeScript ESLint rules
`@typescript-eslint/no-loss-of-precision`
`@typescript-eslint/no-var-requires`
`@typescript-eslint/prefer-ts-expect-error`
`@typescript-eslint/no-throw-literal`
`@typescript-eslint/no-useless-template-literals`
`@typescript-eslint/ban-types`
`@typescript-eslint/type-annotation-spacing`

Fixes #4
2024-09-17 23:43:56 +02:00
theoludwig c2147dbc7a fix: remove deprecated ESLint rules
`no-confusing-arrow`
`no-floating-decimal`
`no-mixed-operators`
`quote-props`
`arrow-parens`
2024-09-17 23:17:45 +02:00
theoludwig e6a222d01f build(deps): update latest
BREAKING CHANGE: peerDependencies:
`eslint@^8.57.0`
`eslint-plugin-promise@^7.0.0`
`eslint-plugin-unicorn@^55.0.0`
`@typescript-eslint/eslint-plugin@^8.0.0`
`@typescript-eslint/parser@^8.0.0`
2024-09-17 23:11:38 +02:00
theoludwig eac273c076 feat: add @typescript-eslint/prefer-return-this-type
BREAKING CHANGE: New rule introduced
2024-07-27 09:00:42 +02:00
theoludwigandGitHub 0df1b867a4 docs: update README.md 2024-07-26 07:00:24 +02:00
theoludwig 92e6e56884 ci: usage of Node.js v22 2024-07-25 14:01:48 +02:00
theoludwig 305df380aa chore: remove usage of git hooks (husky, lint-staged, commitlint) + usage of node --run 2024-07-25 14:00:05 +02:00
theoludwig 8b3d9109d7 build(deps): update latest 2024-07-25 13:51:35 +02:00
theoludwig d0fa4e3688 feat: support eslint-plugin-unicorn@^55.0.0 2024-07-25 13:49:08 +02:00
theoludwig 9fa86e2133 feat: support eslint-plugin-promise@^7.0.0 2024-07-25 13:48:49 +02:00
theoludwig 6cb7af3a05 docs: import plugin is not used anymore 2024-07-10 13:34:28 +02:00
theoludwig b4de437548 fix: remove eslint-plugin-import rules
We'll consider using eslint-plugin-import-x in the next major version,
https://github.com/theoludwig/eslint-config-conventions/issues/3
We remove this plugin to avoid issues like this: https://github.com/pnpm/pnpm/issues/4619
(should be resolved when ESLint v9 is fully supported)
And because of the lack of features, that eslint-plugin-import-x implement:
(https://github.com/un-ts/eslint-plugin-import-x/issues/24#issuecomment-1991605123)
2024-07-10 13:02:54 +02:00
theoludwig c751162403 feat: support eslint-plugin-unicorn@^54.0.0 2024-07-10 12:44:40 +02:00
theoludwig 152ccba986 build(deps): update latest 2024-07-10 12:42:53 +02:00
theoludwig 10b5a0d8df fix: allow to ignore floating promise with void operator: @typescript-eslint/no-floating-promises 2024-05-21 19:35:36 +02:00
theoludwig 815518c613 chore: allow to publish pre-release beta version 2024-05-21 19:35:36 +02:00
theoludwig 860873aa4b ci: update GitHub actions 2024-05-21 19:35:36 +02:00
theoludwig 5eacace152 docs: stop recommending eslint-config-prettier and eslint-plugin-prettier to use Prettier 2024-05-21 19:35:36 +02:00
theoludwig 0dcde0af51 feat: support eslint-plugin-unicorn@^52.0.0 and eslint-plugin-unicorn@^53.0.0 2024-05-21 19:35:36 +02:00
theoludwig b0fa907559 build(deps): update latest 2024-05-21 19:35:36 +02:00
theoludwig d15df84a73 docs: delete additional </p> 2024-05-21 19:35:36 +02:00
theoludwig aa4da3f6e8 docs: stop mentioning eslint-config-standard-with-typescript as it is now very different 2024-05-21 19:35:36 +02:00
theoludwig b180eae455 fix: relax @typescript-eslint/member-delimiter-style
Deprecated stylistic rule.
2024-05-21 19:35:36 +02:00
theoludwig 31b226ffa4 docs: rename master branch to main 2024-02-16 20:04:49 +01:00
theoludwig 8403ef4254 build(deps): update latest 2024-02-16 20:03:29 +01:00
theoludwig dbe252f3b4 feat: add support for @typescript-eslint v7 2024-02-16 20:03:21 +01:00
theoludwig 6e6a8d7aa1 feat: add @typescript-eslint/no-require-imports
Not considered breaking, as `@typescript-eslint/no-var-requires` is already there.
You should already not use, `require` in your codebase.
It was a mistake to not include this rule.

However, the newly added rule, will now report an error for the following example code:
```tsx
const [loaded, error] = useFonts({
  CustomFont: require("../assets/fonts/CustomFont.ttf")
})
```

Must read: "Every change breaks someones workflow", https://xkcd.com/1172/
2024-02-16 20:02:41 +01:00
theoludwig 256a5024d6 feat: add @typescript-eslint/prefer-as-const
BREAKING CHANGE: New rule introduced
2024-02-08 22:56:43 +01:00