Skip to content

Commit e26b835

Browse files
authored
fix: flex parseDate (#781)
1 parent 7b78efe commit e26b835

File tree

126 files changed

+26868
-26645
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

126 files changed

+26868
-26645
lines changed

.lintstagedrc.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
'*.ts,!tools/*':
2-
- biome lint --write
2+
- biome check --write
33
- npm test
44
'tools/*.ts':
5-
- biome lint --write
5+
- biome check --write
66
package*.json:
77
- npx sort-package-json
88
- npm dedupe
99
'*.{yml,json,yaml},!package*.json':
10-
- prettier --write
10+
- biome check --write
1111
'data/languages.json':
1212
- npm run sort -- -c

biome.json

Lines changed: 65 additions & 46 deletions
Original file line numberDiff line numberDiff line change
@@ -1,51 +1,70 @@
11
{
2-
"$schema": "https://biomejs.dev/schemas/2.3.6/schema.json",
3-
"vcs": {
4-
"enabled": false,
5-
"clientKind": "git",
6-
"useIgnoreFile": false
2+
"$schema": "https://biomejs.dev/schemas/2.3.10/schema.json",
3+
"vcs": {
4+
"enabled": false,
5+
"clientKind": "git",
6+
"useIgnoreFile": false
7+
},
8+
"files": {
9+
"includes": ["test/**/*.ts", "tools/*.ts", "data/**/*.json"],
10+
"ignoreUnknown": true
11+
},
12+
"formatter": {
13+
"enabled": true,
14+
"formatWithErrors": false,
15+
"indentStyle": "space",
16+
"indentWidth": 2,
17+
"lineEnding": "lf",
18+
"lineWidth": 80,
19+
"attributePosition": "auto",
20+
"bracketSameLine": false,
21+
"bracketSpacing": true,
22+
"expand": "auto",
23+
"useEditorconfig": true
24+
},
25+
"linter": {
26+
"enabled": true,
27+
"domains": {
28+
"test": "recommended"
729
},
8-
"files": {
9-
"includes": [
10-
"test/**/*.ts",
11-
"tools/*.ts"
12-
],
13-
"ignoreUnknown": true
30+
"rules": {
31+
"recommended": true,
32+
"complexity": {
33+
"useArrowFunction": "off"
34+
},
35+
"style": {
36+
"useImportType": "off",
37+
"noNonNullAssertion": "off"
38+
},
39+
"suspicious": {
40+
"noExplicitAny": "warn"
41+
}
1442
},
15-
"formatter": {
16-
"enabled": false
17-
},
18-
"linter": {
19-
"enabled": true,
20-
"domains": {
21-
"test": "recommended"
22-
},
23-
"rules": {
24-
"recommended": true,
25-
"complexity": {
26-
"useArrowFunction": "off"
27-
},
28-
"style": {
29-
"useImportType": "off",
30-
"noNonNullAssertion": "off"
31-
},
32-
"suspicious": {
33-
"noExplicitAny": "warn"
34-
}
35-
},
36-
"includes": [
37-
"**",
38-
"!.github/**",
39-
"!docs/**",
40-
"!data/**"
41-
]
42-
},
43-
"assist": {
44-
"enabled": true,
45-
"actions": {
46-
"source": {
47-
"organizeImports": "on"
48-
}
43+
"includes": ["**", "!.github/**", "!docs/**", "!data/**"]
44+
},
45+
"assist": {
46+
"enabled": true,
47+
"actions": {
48+
"source": {
49+
"organizeImports": {
50+
"level": "on",
51+
"options": {
52+
"identifierOrder": "natural",
53+
"groups": [
54+
":URL:",
55+
":BLANK_LINE:",
56+
[":NODE:", ":BUN:"],
57+
":BLANK_LINE:",
58+
[":PACKAGE_WITH_PROTOCOL:", ":PACKAGE:"],
59+
":BLANK_LINE:",
60+
["@models", "@models/**", "@supporting", "@supporting/**"],
61+
["@data/**"],
62+
":BLANK_LINE:",
63+
":RELATIVE:"
64+
]
65+
}
4966
}
67+
}
5068
}
51-
}
69+
}
70+
}

0 commit comments

Comments
 (0)