@w5s/eslint-config 6.0.0 → 7.1.1
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 +3 -1
- package/dist/index.d.ts +933 -451
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +90 -27
- package/dist/index.js.map +1 -1
- package/package.json +12 -10
- package/src/config/es.ts +2 -2
- package/src/config/github-actions.ts +6 -1
- package/src/config/jsdoc.ts +2 -2
- package/src/config/jsonc.ts +9 -4
- package/src/config/markdown.ts +1 -0
- package/src/config/toml.ts +57 -0
- package/src/config/unicorn.ts +1 -0
- package/src/config/yml.ts +8 -3
- package/src/config.ts +1 -0
- package/src/defineConfig.ts +2 -0
- package/src/glob.ts +3 -1
- package/src/internal/withSchema.ts +22 -0
- package/src/type/PluginOptionsSchema.ts +10 -0
- package/src/type.ts +1 -0
- package/src/typegen/jsdoc.d.ts +10 -2
- package/src/typegen/schema.d.ts +35 -0
- package/src/typegen/toml.d.ts +270 -0
- package/src/typegen/unicorn.d.ts +570 -405
package/README.md
CHANGED
|
@@ -38,6 +38,7 @@ import defineConfig from '@w5s/eslint-config';
|
|
|
38
38
|
|
|
39
39
|
export default defineConfig({
|
|
40
40
|
stylistic: { indent: 2 },
|
|
41
|
+
toml: true,
|
|
41
42
|
yml: true,
|
|
42
43
|
});
|
|
43
44
|
```
|
|
@@ -74,7 +75,8 @@ export default defineConfig({
|
|
|
74
75
|
|
|
75
76
|
### Features
|
|
76
77
|
|
|
77
|
-
- Supported languages : `JS`, `TS`, `JSX`, `JSON`, `YAML`, `MARKDOWN`
|
|
78
|
+
- Supported languages : `JS`, `TS`, `JSX`, `JSON`, `TOML`, `YAML`, `MARKDOWN`
|
|
79
|
+
- JSON Schema validation for JSON, TOML, and YAML files
|
|
78
80
|
- GitHub Actions workflows covered via `eslint-plugin-github-actions-2`
|
|
79
81
|
- Standalone formatting : no prettier cli/configuration required (uses stylistic plugin)
|
|
80
82
|
- Enforce best practices : Airbnb base as default
|