mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-01-23 02:35:49 +00:00
chore(eslint) no-multiple-empty-lines
This commit is contained in:
parent
497f7bcd40
commit
416d01f6df
3 changed files with 6 additions and 3 deletions
|
|
@ -12,6 +12,10 @@
|
|||
"semi": "error",
|
||||
"no-console": 0,
|
||||
"no-use-before-define": 0,
|
||||
"no-multiple-empty-lines": [
|
||||
"error", {
|
||||
"max": 1
|
||||
}]
|
||||
},
|
||||
"extends": [
|
||||
"eslint:recommended"
|
||||
|
|
|
|||
|
|
@ -156,7 +156,6 @@ test('sw: register: unregisterSW', async (t) => {
|
|||
t.end();
|
||||
});
|
||||
|
||||
|
||||
function getNavigator({register, unregister}) {
|
||||
unregister = unregister || stub();
|
||||
|
||||
|
|
|
|||
|
|
@ -53,12 +53,12 @@
|
|||
"build:start": "redrun build:client start",
|
||||
"build:start:dev": "redrun build:client:dev start:dev",
|
||||
"lint": "redrun lint:*",
|
||||
"lint:js": "redrun lint:client lint:server lint:test",
|
||||
"lint:server": "eslint -c .eslintrc.server $npm_package_config_dirs --ignore-pattern *.spec.js",
|
||||
"lint:test": "eslint $npm_package_config_dirs_test",
|
||||
"lint:client": "eslint --env browser client",
|
||||
"lint:css": "stylelint css/*.css",
|
||||
"lint:md": "yaspeller .",
|
||||
"fix:lint": "redrun fix:lint:*",
|
||||
"fix:lint:client": "redrun lint:client -- --fix",
|
||||
"fix:lint:test": "redrun lint:test -- --fix",
|
||||
"fix:lint:server": "redrun lint:server -- --fix",
|
||||
|
|
@ -96,7 +96,7 @@
|
|||
"watch:client": "redrun 6to5:client -- --watch",
|
||||
"watch:client:dev": "redrun 6to5:client:dev -- --watch",
|
||||
"watch:server": "nodemon bin/cloudcmd.js",
|
||||
"watch:lint": "nodemon -w client -w server -w webpack.config.js -x 'redrun lint:js'",
|
||||
"watch:lint": "nodemon -w client -w server -w webpack.config.js -x 'redrun lint:client lint:server'",
|
||||
"watch:lint:client": "nodemon -w client -w webpack.config.js -x 'redrun lint:client'",
|
||||
"watch:lint:server": "nodemon -w server -w common -x 'redrun lint:server'",
|
||||
"watch:test": "nodemon -w client -w server -w test -w common -x \"npm test\"",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue