@kazupon/eslint-config 0.19.0 → 0.21.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 +5 -2
- package/dist/index.d.ts +247 -213
- package/dist/index.js +31 -2
- package/package.json +57 -41
- package/dist/index.cjs +0 -659
- package/dist/index.d.cts +0 -14216
package/README.md
CHANGED
|
@@ -26,6 +26,7 @@ ESLint config for @kazupon
|
|
|
26
26
|
- `yml`
|
|
27
27
|
- `toml`
|
|
28
28
|
- `markdown`
|
|
29
|
+
- `css`
|
|
29
30
|
- Support primitive eslint flat configuration
|
|
30
31
|
- Support overrides for built-in configurations
|
|
31
32
|
- `rules`
|
|
@@ -107,7 +108,8 @@ Add the following settings to your `.vscode/settings.json`:
|
|
|
107
108
|
"json5",
|
|
108
109
|
"markdown",
|
|
109
110
|
"yaml",
|
|
110
|
-
"toml"
|
|
111
|
+
"toml",
|
|
112
|
+
"css"
|
|
111
113
|
],
|
|
112
114
|
// Enable flat configuration
|
|
113
115
|
"eslint.useFlatConfig": true
|
|
@@ -119,7 +121,7 @@ Add the following settings to your `.vscode/settings.json`:
|
|
|
119
121
|
The following built-in preset configurations are supported:
|
|
120
122
|
|
|
121
123
|
| Configuration | Powered by eslint plugin or package | Need to install eslint plugin or package? |
|
|
122
|
-
| ------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------- |
|
|
124
|
+
| ------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------- | --- |
|
|
123
125
|
| `javascript` | [`@eslint/js`](https://www.npmjs.com/package/@eslint/js) | no (built-in) |
|
|
124
126
|
| `comments` | [`@eslint-community/eslint-plugin-eslint-comments`](https://www.npmjs.com/package/@eslint-community/eslint-plugin-eslint-comments) | no (built-in) |
|
|
125
127
|
| `typescript` | [`typescript-eslint`](https://www.npmjs.com/package/typescript-eslint) | yes |
|
|
@@ -137,6 +139,7 @@ The following built-in preset configurations are supported:
|
|
|
137
139
|
| `yml` | [`eslint-plugin-yml`](https://www.npmjs.com/package/eslint-plugin-yml) | yes |
|
|
138
140
|
| `toml` | [`eslint-plugin-toml`](https://www.npmjs.com/package/eslint-plugin-toml) | yes |
|
|
139
141
|
| `markdown` | [`@eslint/markdown`](https://www.npmjs.com/package/@eslint/markdown) | yes |
|
|
142
|
+
| `css` | [`@eslint/css`](https://www.npmjs.com/package/@eslint/css) | yes | k |
|
|
140
143
|
|
|
141
144
|
You can use `import` syntax:
|
|
142
145
|
|