File tree Expand file tree Collapse file tree 5 files changed +47
-6
lines changed
Expand file tree Collapse file tree 5 files changed +47
-6
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 22 "typescript.tsdk" : " node_modules/typescript/lib" ,
33 "prettier.enable" : false ,
44 "editor.formatOnSave" : false ,
5+ // Enable the ESlint flat config support
6+ "eslint.experimental.useFlatConfig" : true ,
57 "editor.codeActionsOnSave" : {
6- "source.fixAll.eslint" : true ,
7- "source.organizeImports" : false
8+ "source.fixAll.eslint" : " explicit " ,
9+ "source.organizeImports" : " never "
810 },
11+ // Silent the stylistic rules in you IDE, but still auto fix them
912 "eslint.validate" : [
1013 " javascript" ,
1114 " javascriptreact" ,
1821 " jsonc" ,
1922 " yaml"
2023 ],
24+ "eslint.rules.customizations" : [
25+ {
26+ "rule" : " style/*" ,
27+ "severity" : " off"
28+ },
29+ {
30+ "rule" : " *-indent" ,
31+ "severity" : " off"
32+ },
33+ {
34+ "rule" : " *-spacing" ,
35+ "severity" : " off"
36+ },
37+ {
38+ "rule" : " *-spaces" ,
39+ "severity" : " off"
40+ },
41+ {
42+ "rule" : " *-order" ,
43+ "severity" : " off"
44+ },
45+ {
46+ "rule" : " *-dangle" ,
47+ "severity" : " off"
48+ },
49+ {
50+ "rule" : " *-newline" ,
51+ "severity" : " off"
52+ },
53+ {
54+ "rule" : " *quotes" ,
55+ "severity" : " off"
56+ },
57+ {
58+ "rule" : " *semi" ,
59+ "severity" : " off"
60+ }
61+ ],
2162 "cSpell.words" : [
2263 " antfu" ,
2364 " booleanish" ,
Original file line number Diff line number Diff line change 1+ import antfu from '@antfu/eslint-config'
2+
3+ export default antfu ( )
Original file line number Diff line number Diff line change 4545 "typecheck" : " tsc --noEmit"
4646 },
4747 "devDependencies" : {
48- "@ow3 /eslint-config" : " ^0.47.3 " ,
48+ "@antfu /eslint-config" : " ^2.1.0 " ,
4949 "@types/node" : " ^20.9.4" ,
5050 "bun-types" : " ^1.0.14" ,
5151 "bumpp" : " ^9.2.0" ,
You can’t perform that action at this time.
0 commit comments