@ntnyq/eslint-config 3.11.0 → 3.12.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 CHANGED
@@ -3,8 +3,8 @@
3
3
  > Flat ESLint config for JavaScript, TypeScript, Vue 2, Vue 3, Prettier.
4
4
 
5
5
  [![CI](https://github.com/ntnyq/eslint-config/workflows/CI/badge.svg)](https://github.com/ntnyq/eslint-config/actions)
6
- [![NPM DOWNLOADS](https://img.shields.io/npm/dy/@ntnyq/eslint-config)](https://www.npmjs.com/package/@ntnyq/eslint-config)
7
6
  [![NPM VERSION](https://img.shields.io/npm/v/@ntnyq/eslint-config/latest.svg)](https://www.npmjs.com/package/@ntnyq/eslint-config/v/latest)
7
+ [![NPM DOWNLOADS](https://img.shields.io/npm/dy/@ntnyq/eslint-config)](https://www.npmjs.com/package/@ntnyq/eslint-config)
8
8
  [![LICENSE](https://img.shields.io/github/license/ntnyq/eslint-config.svg)](https://github.com/ntnyq/eslint-config/blob/main/LICENSE)
9
9
 
10
10
  ## Features
@@ -87,7 +87,8 @@ export default defineConfig({
87
87
  "prettier.enable": true,
88
88
  "editor.formatOnSave": true,
89
89
  "editor.codeActionsOnSave": {
90
- "source.fixAll.eslint": "explicit"
90
+ "source.fixAll.eslint": "explicit",
91
+ "source.organizeImports": "never"
91
92
  },
92
93
  "editor.defaultFormatter": "esbenp.prettier-vscode",
93
94
  "eslint.validate": [
@@ -165,12 +166,12 @@ export interface ConfigOptions extends ConfigOptionsInternal, OptionsExtensions
165
166
  gitignore?: boolean | ConfigGitIgnoreOptions
166
167
  jsonc?: boolean | ConfigJsoncOptions
167
168
  markdown?: boolean | ConfigMarkdownOptions
169
+ ntnyq?: boolean | ConfigNtnyqOptions
168
170
  perfectionist?: boolean | ConfigPerfectionistOptions
169
171
  pinia?: boolean | ConfigPiniaOptions
170
172
  prettier?: boolean | ConfigPrettierOptions
171
173
  regexp?: boolean | ConfigRegexpOptions
172
174
  sort?: boolean | ConfigSortOptions
173
- stylistic?: boolean | ConfigStylisticOptions
174
175
  test?: boolean | ConfigTestOptions
175
176
  toml?: boolean | ConfigTomlOptions
176
177
  typescript?: boolean | ConfigTypeScriptOptions
@@ -180,9 +181,23 @@ export interface ConfigOptions extends ConfigOptionsInternal, OptionsExtensions
180
181
  yml?: boolean | ConfigYmlOptions
181
182
 
182
183
  /**
183
- * bellow need enable explicitly
184
+ * disabled by default
184
185
  */
185
186
  svgo?: boolean | ConfigSVGOOptions
187
+
188
+ /**
189
+ * disabled by default
190
+ *
191
+ * require `eslint-plugin-eslint-plugin` installed mannally
192
+ */
193
+ eslintPlugin?: boolean | ConfigESLintPluginOptions
194
+
195
+ /**
196
+ * disabled by default
197
+ *
198
+ * require `@stylistic/eslint-plugin` installed mannally
199
+ */
200
+ stylistic?: boolean | ConfigStylisticOptions
186
201
  }
187
202
  ```
188
203