File tree Expand file tree Collapse file tree 2 files changed +6
-7
lines changed Expand file tree Collapse file tree 2 files changed +6
-7
lines changed Original file line number Diff line number Diff line change @@ -14,10 +14,14 @@ export async function prettier(rules: PartialPrettierExtendedOptions) {
14
14
15
15
const configs : FlatConfigItem [ ] = [
16
16
{
17
- files : GLOB_PRETTIER_LINT ,
17
+ name : 'coderwyd:prettier:setup' ,
18
18
plugins : {
19
19
prettier : pluginPrettier ,
20
20
} ,
21
+ } ,
22
+ {
23
+ files : GLOB_PRETTIER_LINT ,
24
+ name : 'coderwyd:prettier:rules' ,
21
25
rules : {
22
26
...eslintRules ,
23
27
'prettier/prettier' : [ 'warn' , pRules ] ,
Original file line number Diff line number Diff line change @@ -5,13 +5,8 @@ export default defineConfig({
5
5
clean : true ,
6
6
dts : true ,
7
7
format : [ 'cjs' , 'esm' ] ,
8
- external : [
9
- 'eslint-plugin-react' ,
10
- 'eslint-plugin-react-hooks' ,
11
- 'eslint-plugin-react-refresh' ,
12
- ] ,
13
8
sourcemap : false ,
14
- target : 'node14' ,
9
+ // target: 'node14',
15
10
minify : false ,
16
11
shims : true ,
17
12
} )
You can’t perform that action at this time.
0 commit comments