File tree Expand file tree Collapse file tree 2 files changed +17
-20
lines changed
Expand file tree Collapse file tree 2 files changed +17
-20
lines changed Original file line number Diff line number Diff line change @@ -14,8 +14,8 @@ npm install typescript-node-module-boilerplate
1414## Usage
1515
1616``` ts
17- import {myFunction } from ' typescript-node-module-boilerplate' ;
17+ import { myFunction } from " typescript-node-module-boilerplate" ;
1818
19- myFunction (' unicorns' );
19+ myFunction (" unicorns" );
2020// => 'unicorns & rainbows'
2121```
Original file line number Diff line number Diff line change 3030 "c8" : " ^10.1.2" ,
3131 "del-cli" : " ^6.0.0" ,
3232 "typescript" : " ^5.9.2" ,
33- "xo" : " ^0.60.0 "
33+ "xo" : " ^1.2.2 "
3434 },
3535 "files" : [
3636 " dist" ,
3939 ],
4040 "main" : " ./dist/index.js" ,
4141 "types" : " ./dist/index.d.ts" ,
42- "xo" : {
43- "rules" : {
44- "@typescript-eslint/prefer-readonly-parameter-types" : " warn" ,
45- "n/file-extension-in-import" : " off"
42+ "xo" : [
43+ {
44+ "rules" : {
45+ "@typescript-eslint/prefer-readonly-parameter-types" : " warn"
46+ }
4647 },
47- "overrides" : [
48- {
49- "files" : [
50- " **/*.test.*" ,
51- " **/test.*"
52- ],
53- "rules" : {
54- "@typescript-eslint/prefer-readonly-parameter-types" : " off" ,
55- "n/no-unsupported-features/es-syntax" : " off" ,
56- "n/no-unsupported-features/node-builtins" : " off"
57- }
48+ {
49+ "files" : [
50+ " **/*.test.*" ,
51+ " **/test.*"
52+ ],
53+ "rules" : {
54+ "@typescript-eslint/prefer-readonly-parameter-types" : " off"
5855 }
59- ]
60- }
56+ }
57+ ]
6158}
You can’t perform that action at this time.
0 commit comments