@ntnyq/eslint-config 4.0.0-beta.3 → 4.0.0-beta.5

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.
Files changed (4) hide show
  1. package/README.md +5 -7
  2. package/dist/index.d.ts +15033 -13897
  3. package/dist/index.js +1182 -994
  4. package/package.json +23 -18
package/README.md CHANGED
@@ -86,12 +86,13 @@ export default defineConfig({
86
86
  "eslint.enable": true,
87
87
  "prettier.enable": true,
88
88
  "editor.formatOnSave": true,
89
+ "prettier.configPath": "./prettier.config.mjs",
90
+ "editor.defaultFormatter": "esbenp.prettier-vscode",
89
91
  "editor.codeActionsOnSave": {
90
92
  "source.fixAll.eslint": "explicit",
91
93
  "source.organizeImports": "never",
92
94
  "source.sortImports": "never"
93
95
  },
94
- "editor.defaultFormatter": "esbenp.prettier-vscode",
95
96
  "eslint.validate": [
96
97
  "vue",
97
98
  "yaml",
@@ -148,7 +149,7 @@ Check for detail in:
148
149
  ### Config interface
149
150
 
150
151
  ```ts
151
- export interface ConfigOptions extends ConfigOptionsInternal, OptionsExtensions {
152
+ export interface ConfigOptions extends OptionsExtensions {
152
153
  command?: ConfigCommandOptions
153
154
  eslintComments?: ConfigESLintCommentsOptions
154
155
  ignores?: ConfigIgnoresOptions
@@ -159,9 +160,10 @@ export interface ConfigOptions extends ConfigOptionsInternal, OptionsExtensions
159
160
  specials?: ConfigSpecialsOptions
160
161
 
161
162
  /**
162
- * bellow can be disabled
163
+ * Configs bellow can be disabled
163
164
  */
164
165
  antfu?: boolean | ConfigAntfuOptions
166
+ deMorgan?: boolean | ConfigDeMorganOptions
165
167
  depend?: boolean | ConfigDependOptions
166
168
  githubAction?: boolean | ConfigGitHubActionOptions
167
169
  gitignore?: boolean | ConfigGitIgnoreOptions
@@ -180,16 +182,12 @@ export interface ConfigOptions extends ConfigOptionsInternal, OptionsExtensions
180
182
  unocss?: boolean | ConfigUnoCSSOptions
181
183
  vue?: boolean | ConfigVueOptions
182
184
  yml?: boolean | ConfigYmlOptions
183
-
184
185
  /**
185
186
  * disabled by default
186
187
  */
187
188
  svgo?: boolean | ConfigSVGOOptions
188
-
189
189
  /**
190
190
  * disabled by default
191
- *
192
- * require `eslint-plugin-eslint-plugin` installed mannally
193
191
  */
194
192
  eslintPlugin?: boolean | ConfigESLintPluginOptions
195
193
  }