@kazupon/eslint-config 0.35.0 → 0.37.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 +25 -22
- package/dist/index.d.ts +1431 -1169
- package/dist/index.js +60 -47
- package/package.json +69 -59
package/README.md
CHANGED
|
@@ -28,6 +28,8 @@ ESLint config for @kazupon
|
|
|
28
28
|
- `toml`
|
|
29
29
|
- `markdown`
|
|
30
30
|
- `css`
|
|
31
|
+
- `html`
|
|
32
|
+
- `deps`
|
|
31
33
|
- Support primitive eslint flat configuration
|
|
32
34
|
- Support overrides for built-in configurations
|
|
33
35
|
- `rules`
|
|
@@ -121,28 +123,29 @@ Add the following settings to your `.vscode/settings.json`:
|
|
|
121
123
|
|
|
122
124
|
The following built-in preset configurations are supported:
|
|
123
125
|
|
|
124
|
-
|
|
|
125
|
-
|
|
|
126
|
-
| `javascript`
|
|
127
|
-
| `stylistic`
|
|
128
|
-
| `comments`
|
|
129
|
-
| `typescript`
|
|
130
|
-
| `imports`
|
|
131
|
-
| `jsdoc`
|
|
132
|
-
| `regexp`
|
|
133
|
-
| `promise`
|
|
134
|
-
| `unicorn`
|
|
135
|
-
| `prettier`
|
|
136
|
-
| `vue`
|
|
137
|
-
| `react`
|
|
138
|
-
| `svelte`
|
|
139
|
-
| `vitest`
|
|
140
|
-
| `jsonc`
|
|
141
|
-
| `yml`
|
|
142
|
-
| `toml`
|
|
143
|
-
| `markdown`
|
|
144
|
-
| `css`
|
|
145
|
-
| `html`
|
|
126
|
+
| Preset | Powered by eslint plugin or package | Need to install eslint plugin or package? |
|
|
127
|
+
| ------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ----------------------------------------- |
|
|
128
|
+
| `javascript` | [`@eslint/js`](https://www.npmjs.com/package/@eslint/js) | no (built-in) |
|
|
129
|
+
| `stylistic` | [`@stylistic/eslint-plugin`](https://www.npmjs.com/package/@stylistic/eslint-plugin) | no (built-in) |
|
|
130
|
+
| `comments` | [`@eslint-community/eslint-plugin-eslint-comments`](https://www.npmjs.com/package/@eslint-community/eslint-plugin-eslint-comments), [`@kazupon/eslint-plugin`(comment config)](https://www.npmjs.com/package/@kazupon/eslint-plugin) | no (built-in) |
|
|
131
|
+
| `typescript` | [`typescript-eslint`](https://www.npmjs.com/package/typescript-eslint) | yes |
|
|
132
|
+
| `imports` | [`eslint-plugin-import`](https://www.npmjs.com/package/eslint-plugin-import), [`eslint-plugin-unused-imports`](https://www.npmjs.com/package/eslint-plugin-unused-imports), [`eslint-plugin-module-interop`](https://www.npmjs.com/package/eslint-plugin-module-interop) | yes |
|
|
133
|
+
| `jsdoc` | [`eslint-plugin-jsdoc`](https://www.npmjs.com/package/eslint-plugin-jsdoc) | yes |
|
|
134
|
+
| `regexp` | [`eslint-plugin-regexp`](https://www.npmjs.com/package/eslint-plugin-regexp) | yes |
|
|
135
|
+
| `promise` | [`eslint-plugin-promise`](https://www.npmjs.com/package/eslint-plugin-promise) | yes |
|
|
136
|
+
| `unicorn` | [`eslint-plugin-unicorn`](https://www.npmjs.com/package/eslint-plugin-unicorn) | yes |
|
|
137
|
+
| `prettier` | [`eslint-config-prettier`](https://www.npmjs.com/package/eslint-config-prettier) | yes |
|
|
138
|
+
| `vue` | [`eslint-plugin-vue`](https://www.npmjs.com/package/eslint-plugin-vue), [`eslint-plugin-vue-composable`](https://www.npmjs.com/package/eslint-plugin-vue-composable), [`eslint-plugin-vue-scoped-css`](https://www.npmjs.com/package/eslint-plugin-vue-scoped-css), [`eslint-plugin-vuejs-accessibility`](https://www.npmjs.com/package/eslint-plugin-vuejs-accessibility), [`@intlify/eslint-plugin-vue-i18n`](https://github.com/intlify/eslint-plugin-vue-i18n) | yes |
|
|
139
|
+
| `react` | [`eslint-plugin-react`](https://www.npmjs.com/package/eslint-plugin-react), [`eslint-plugin-react-hooks`](https://www.npmjs.com/package/eslint-plugin-react-hooks), [`eslint-plugin-react-refresh`](https://www.npmjs.com/package/eslint-plugin-react-refresh) | yes |
|
|
140
|
+
| `svelte` | [`eslint-plugin-svelte`](https://www.npmjs.com/package/eslint-plugin-svelte) | yes |
|
|
141
|
+
| `vitest` | [`@vitest/eslint-plugin`](https://www.npmjs.com/package/@vitest/eslint-plugin) | yes |
|
|
142
|
+
| `jsonc` | [`eslint-plugin-jsonc`](https://www.npmjs.com/package/eslint-plugin-jsonc) | yes |
|
|
143
|
+
| `yml` | [`eslint-plugin-yml`](https://www.npmjs.com/package/eslint-plugin-yml) | yes |
|
|
144
|
+
| `toml` | [`eslint-plugin-toml`](https://www.npmjs.com/package/eslint-plugin-toml) | yes |
|
|
145
|
+
| `markdown` | [`@eslint/markdown`](https://www.npmjs.com/package/@eslint/markdown), [`eslint-plugin-markdown-preferences`](https://github.com/ota-meshi/eslint-plugin-markdown-preferences) | yes |
|
|
146
|
+
| `css` | [`@eslint/css`](https://www.npmjs.com/package/@eslint/css) | yes |
|
|
147
|
+
| `html` | [`@html-eslint/eslint-plugin`](https://www.npmjs.com/package/@html-eslint/eslint-plugin) | yes |
|
|
148
|
+
| `deps` | [`eslint-plugin-barrel-files`](https://www.npmjs.com/package/eslint-plugin-barrel-files) | yes |
|
|
146
149
|
|
|
147
150
|
You can use `import` syntax:
|
|
148
151
|
|