@jsse/eslint-config 0.8.6 → 0.9.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/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # @jsse/eslint-config
2
2
 
3
+ ## 0.9.0
4
+
5
+ ### Minor Changes
6
+
7
+ - fixing eslint ts/react parsing conflicts and simplify react/ts setup
8
+
9
+ ## 0.8.7
10
+
11
+ ### Patch Changes
12
+
13
+ - overrides fixed and functions fixed up...
14
+
3
15
  ## 0.8.6
4
16
 
5
17
  ### Patch Changes
package/README.md CHANGED
@@ -75,8 +75,14 @@ export default jsse({
75
75
  | ----------------- | ------------------------------ | ------------------------------------------------------------------------------------------------------------------------- |
76
76
  | `typescript` | auto-detect | Enabled when `typescript` is installed. Passing `{ tsconfig }` enables type-aware rules unless `typeAware: false` is set. |
77
77
  | `typeAware` | `false` | Explicit override for type-aware TypeScript rules. |
78
- | `react` | `false` | Enables React rules. |
78
+ | `react` | `false` | Enables React rules; accepts `reactRefresh` and `overrides`. TS/TSX parsing comes entirely from `typescript`/`tsconfig`. |
79
79
  | `reactRefresh` | `true` when `react` is enabled | Set `false` to disable React Refresh rules. |
80
+ | `antfu` | `true` | Enables `eslint-plugin-antfu`; accepts `topLevelFunction` and `overrides`. |
81
+ | `demorgan` | `true` | Enables `eslint-plugin-de-morgan`; accepts `overrides`. |
82
+ | `e18e` | `true` | Enables `@e18e/eslint-plugin`. |
83
+ | `jsdoc` | `true` | Enables `eslint-plugin-jsdoc`; accepts `overrides`. |
84
+ | `n` | `true` | Enables Node.js rules from `eslint-plugin-n`; accepts `overrides`. |
85
+ | `unicorn` | `true` | Enables `eslint-plugin-unicorn`; accepts `{ preset, overrides }`. |
80
86
  | `prettier` | `true` | Disables known ESLint/Prettier conflicts. This does not run Prettier. |
81
87
  | `stylistic` | `true` | Enables selected `@stylistic` rules. Supports `indent`, `quotes`, and `jsx`. |
82
88
  | `jsonc` | `true` | Enables JSON/JSONC rules. |
@@ -84,9 +90,20 @@ export default jsse({
84
90
  | `yaml` | `false` | Enables YAML rules. |
85
91
  | `sortImports` | `false` | Enables import/export sorting via Perfectionist. |
86
92
  | `sortPackageJson` | `true` | Requires `jsonc` to be enabled. |
87
- | `sortTsconfig` | `true` | Requires `jsonc` to be enabled. |
93
+ | `sortTsconfig` | `true` | Requires `jsonc`; accepts `extendTsconfigGlobs`. |
88
94
  | `tailwind` | `false` | Deprecated. Passing it only prints a warning. |
89
95
 
96
+ Rule overrides belong to the corresponding config option:
97
+
98
+ ```js
99
+ jsse({
100
+ javascript: { overrides: { "no-console": "warn" } },
101
+ typescript: { overrides: { "@typescript-eslint/no-explicit-any": "off" } },
102
+ jsonc: { overrides: { "jsonc/no-comments": "off" } },
103
+ unicorn: { overrides: { "unicorn/no-null": "warn" } },
104
+ });
105
+ ```
106
+
90
107
  ## Thanks
91
108
 
92
109
  - [antfu](https://github.com/antfu) and [sxzz](https://github.com/sxzz) for