@kouts/eslint-config 3.1.1 → 3.1.3
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 +6 -5
- package/dist/index.cjs +636 -17
- package/dist/index.d.cts +25 -4
- package/dist/index.d.ts +25 -4
- package/dist/index.js +633 -12
- package/package.json +22 -14
package/README.md
CHANGED
|
@@ -33,7 +33,7 @@ export default [
|
|
|
33
33
|
|
|
34
34
|
#### Customizing the config
|
|
35
35
|
|
|
36
|
-
The configuration comes with default settings that
|
|
36
|
+
The configuration comes with default settings that internally mirror the [neostandard](https://github.com/neostandard/neostandard/tree/main?tab=readme-ov-file#configuration-options) baseline. You can further customize it by passing an object to the `config` function:
|
|
37
37
|
|
|
38
38
|
**Config settings defaults:**
|
|
39
39
|
|
|
@@ -102,15 +102,16 @@ Ad the following settings to your VS Code project settings for autofix on save:
|
|
|
102
102
|
|
|
103
103
|
## Features
|
|
104
104
|
|
|
105
|
-
-
|
|
105
|
+
- Internally mirrors [neostandard](https://github.com/neostandard/neostandard)
|
|
106
106
|
- [Prettier](https://prettier.io) for code formatting
|
|
107
107
|
- Plugins
|
|
108
108
|
- [eslint-plugin-html](https://github.com/BenoitZugmeyer/eslint-plugin-html) for linting inline scripts contained in HTML files
|
|
109
109
|
- [eslint-plugin-vue](https://github.com/vuejs/eslint-plugin-vue/) for linting Vue.js files
|
|
110
110
|
- [eslint-config-prettier](https://github.com/prettier/eslint-config-prettier) for disabling all rules that conflict with Prettier
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
111
|
+
- [eslint-plugin-prettier](https://github.com/prettier/eslint-plugin-prettier) for using Prettier as a code formatter with `eslint --fix`
|
|
112
|
+
- [eslint-plugin-simple-import-sort](https://github.com/lydell/eslint-plugin-simple-import-sort) for auto-fixing imports order
|
|
113
|
+
- [eslint-plugin-vitest](https://github.com/vitest-dev/eslint-plugin-vitest) for linting Vitest test files
|
|
114
|
+
- [eslint-plugin-import-x](https://github.com/un-ts/eslint-plugin-import-x) for JavaScript import/export checks
|
|
114
115
|
|
|
115
116
|
## Vue-specific Rules
|
|
116
117
|
|