@kevinmarrec/eslint-config 1.4.0 → 1.5.0

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
@@ -8,6 +8,7 @@ Opinionated [ESLint](https://eslint.org) config.
8
8
 
9
9
  - Extends [@antfu/eslint-config](https://github.com/antfu/eslint-config) with [formatters](https://github.com/antfu/eslint-config?tab=readme-ov-file#formatters) & [UnoCSS](https://github.com/antfu/eslint-config?tab=readme-ov-file#unocss) support (`uno.config.ts` detection)
10
10
  - with quite minor rule overrides:
11
+ - [antfu/if-newline](https://github.com/antfu/eslint-plugin-antfu/blob/main/src/rules/if-newline.ts) is disabled
11
12
  - [import/consistent-type-specifier-style](https://github.com/import-js/eslint-plugin-import/blob/main/docs/rules/consistent-type-specifier-style.md) is disabled
12
13
  - [import/no-duplicates](https://github.com/import-js/eslint-plugin-import/blob/main/docs/rules/no-duplicates.md) is overridden to prefer inline type imports
13
14
  - [perfectionist/sort-imports](https://perfectionist.dev/rules/sort-imports.html) is overridden with custom groups order and enforced new lines between groups
package/dist/index.js CHANGED
@@ -21,6 +21,7 @@ function useConfig(options = {}, ...userConfigs) {
21
21
  }
22
22
  },
23
23
  rules: {
24
+ "antfu/if-newline": ["off"],
24
25
  "import/consistent-type-specifier-style": ["off"],
25
26
  "import/no-duplicates": ["error", { "prefer-inline": true }],
26
27
  "perfectionist/sort-imports": ["error", {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@kevinmarrec/eslint-config",
3
3
  "type": "module",
4
- "version": "1.4.0",
4
+ "version": "1.5.0",
5
5
  "packageManager": "bun@1.2.22",
6
6
  "description": "Opinionated ESLint config.",
7
7
  "author": "Kevin Marrec <kevin@marrec.io>",