File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1717 },
1818 "scripts" : {
1919 "start" : " sandbox" ,
20- "lint" : " eslint src/**/*.mjs " ,
20+ "lint" : " eslint . --fix " ,
2121 "test" : " tape test/*.mjs | tap-arc"
2222 },
2323 "files" : [
4343 "pluralize" : " ^8.0.0"
4444 },
4545 "devDependencies" : {
46+ "@architect/eslint-config" : " ^2.1.0-RC.0" ,
4647 "@architect/sandbox" : " ^5.4.1" ,
4748 "eslint" : " ^8.28.0" ,
4849 "tap-arc" : " ^0.3.5" ,
4950 "tape" : " ^5.6.1" ,
5051 "tiny-json-http" : " ^7.4.2"
5152 },
5253 "eslintConfig" : {
53- "env" : {
54- "node" : true
55- },
56- "extends" : " eslint:recommended" ,
57- "rules" : {},
58- "parserOptions" : {
59- "sourceType" : " module" ,
60- "ecmaVersion" : 2022
61- }
54+ "extends" : " @architect/eslint-config" ,
55+ "overrides" : [{
56+ "files" : [ " *" ],
57+ "rules" : {
58+ "filenames/match-regex" : [ " error" , " ^[a-z0-9-_.$]+$" , true ]
59+ }
60+ }]
6261 }
6362}
You can’t perform that action at this time.
0 commit comments