Skip to content

Commit 930f552

Browse files
committed
chore: update sort and unicorn configuration functions
1 parent f0b048e commit 930f552

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

src/configs/sort.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -220,6 +220,7 @@ export function sortTsconfig(): TypedFlatConfigItem[] {
220220
'stripInternal',
221221
/* Interop Constraints */
222222
'allowSyntheticDefaultImports',
223+
'erasableSyntaxOnly',
223224
'esModuleInterop',
224225
'forceConsistentCasingInFileNames',
225226
'isolatedDeclarations',

src/configs/unicorn.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ export function unicorn(options: OptionsUnicorn = {}): TypedFlatConfigItem[] {
5353
'unicorn/prefer-array-some': 'error',
5454
'unicorn/prefer-at': 'error',
5555
'unicorn/prefer-blob-reading-methods': 'error',
56+
'unicorn/prefer-class-fields': 'error',
5657
'unicorn/prefer-date-now': 'error',
5758
'unicorn/prefer-dom-node-append': 'error',
5859
'unicorn/prefer-dom-node-dataset': 'error',
@@ -80,6 +81,7 @@ export function unicorn(options: OptionsUnicorn = {}): TypedFlatConfigItem[] {
8081
// top level await is not supported in all environments
8182
// 'unicorn/prefer-top-level-await': 'error',
8283
'unicorn/prefer-type-error': 'error',
84+
// 'unicorn/require-module-specifiers': 'error',
8385
'unicorn/throw-new-error': 'error',
8486

8587
...overrides,

0 commit comments

Comments
 (0)