chore: More linting
This commit is contained in:
parent
8e187a947a
commit
a416b8b860
134 changed files with 1041 additions and 1055 deletions
|
@ -3,16 +3,16 @@ _:
|
|||
clean: 'rimraf dist'
|
||||
mbuild: 'NO_MINIFY=1 node build.mjs'
|
||||
symlink: 'mkdir -p ./node_modules/@freesewing && cd ./node_modules/@freesewing && ln -s -f ../../../* . && cd -'
|
||||
test: ¬ests 'echo "{{name}}: No tests configured. Perhaps you''d like to do this?" && exit 0'
|
||||
test: 'echo "{{name}}: No tests configured. Perhaps you could write some?" && exit 0'
|
||||
vbuild: 'VERBOSE=1 node build.mjs'
|
||||
lab: "cd ../../sites/lab && yarn start"
|
||||
tips: "node ../../scripts/help.mjs"
|
||||
lab: 'cd ../../sites/lab && yarn start'
|
||||
tips: 'node ../../scripts/help.mjs'
|
||||
lint: "npx eslint 'src/**' 'tests/*.mjs'"
|
||||
_types:
|
||||
design:
|
||||
prettier: "npx prettier --write 'src/*.mjs' 'tests/*.mjs'"
|
||||
test: &test 'npx mocha tests/*.test.mjs'
|
||||
testci: &testci "npx mocha tests/*.test.mjs --reporter ../../tests/reporters/terse.js"
|
||||
testci: &testci 'npx mocha tests/*.test.mjs --reporter ../../tests/reporters/terse.js'
|
||||
plugin:
|
||||
prettier: "npx prettier --write 'src/*.mjs' 'tests/*.mjs'"
|
||||
test: *test
|
||||
|
@ -20,17 +20,15 @@ _types:
|
|||
core:
|
||||
report: 'c8 report'
|
||||
test: 'c8 mocha tests/*.test.mjs'
|
||||
testci: "mocha tests/*.test.mjs"
|
||||
testci: 'mocha tests/*.test.mjs'
|
||||
prettier: "npx prettier --write 'src/*.mjs' 'tests/*.mjs'"
|
||||
lint: "npx eslint 'src/*.mjs' 'tests/*.mjs'"
|
||||
i18n:
|
||||
prebuild: 'node scripts/prebuilder.mjs'
|
||||
test: *test
|
||||
testci: *testci
|
||||
models:
|
||||
test: "npx mocha tests/*.test.mjs"
|
||||
test: 'npx mocha tests/*.test.mjs'
|
||||
new-design:
|
||||
build: "SITE=new-design/shared node ../../sites/shared/prebuild/i18n-only.mjs && cp ../../scripts/banner.mjs ./lib && node build.mjs"
|
||||
build: 'SITE=new-design/shared node ../../sites/shared/prebuild/i18n-only.mjs && cp ../../scripts/banner.mjs ./lib && node build.mjs'
|
||||
lint: "npx eslint 'lib/*.mjs'"
|
||||
mbuild: '!'
|
||||
test: '!'
|
||||
|
@ -41,5 +39,4 @@ rehype-jargon:
|
|||
snapseries:
|
||||
lint: "npx eslint 'src/*.mjs'"
|
||||
backend:
|
||||
lint: "!"
|
||||
|
||||
lint: '!'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue