@siberiacancode/eslint 2.5.0 → 2.5.2

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 (3) hide show
  1. package/index.d.ts +1 -1
  2. package/index.js +1 -19
  3. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -5,9 +5,9 @@ declare module '@siberiacancode/eslint' {
5
5
  next?: boolean;
6
6
  } & import('@antfu/eslint-config').TypedFlatConfigItem,
7
7
  ...userConfigs: import('@antfu/eslint-config').Awaitable<
8
+ | import('@antfu/eslint-config').FlatConfigComposer<any, any>
8
9
  | import('@antfu/eslint-config').TypedFlatConfigItem
9
10
  | import('@antfu/eslint-config').TypedFlatConfigItem[]
10
- | import('@antfu/eslint-config').FlatConfigComposer<any, any>
11
11
  | Linter.Config[]
12
12
  >[]
13
13
  ) => import('@antfu/eslint-config').FlatConfigComposer<
package/index.js CHANGED
@@ -146,7 +146,7 @@ export const eslint = ({ jsxA11y = false, next = false, ...options }, ...configs
146
146
  ],
147
147
  internalPattern: ['~/**', '@/**'],
148
148
  matcher: 'minimatch',
149
- newlinesBetween: 'ignore',
149
+ newlinesBetween: 'always',
150
150
  order: 'asc',
151
151
  type: 'natural'
152
152
  }
@@ -173,24 +173,6 @@ export const eslint = ({ jsxA11y = false, next = false, ...options }, ...configs
173
173
  type: 'alphabetical'
174
174
  }
175
175
  ],
176
- 'perfectionist/sort-object-types': [
177
- 'error',
178
- {
179
- matcher: 'minimatch',
180
- order: 'asc',
181
- specialCharacters: 'keep',
182
- type: 'alphabetical'
183
- }
184
- ],
185
- 'perfectionist/sort-objects': [
186
- 'error',
187
- {
188
- matcher: 'minimatch',
189
- order: 'asc',
190
- specialCharacters: 'keep',
191
- type: 'alphabetical'
192
- }
193
- ],
194
176
  'perfectionist/sort-union-types': [
195
177
  'error',
196
178
  {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@siberiacancode/eslint",
3
3
  "type": "module",
4
- "version": "2.5.0",
4
+ "version": "2.5.2",
5
5
  "description": "eslint configs",
6
6
  "author": {
7
7
  "name": "SIBERIA CAN CODE 🧊",