Authored by 毕凯

stylelint

@@ -15,7 +15,7 @@ @@ -15,7 +15,7 @@
15 "build:dll": "webpack --config ./public/build/webpack.dll.indexcss.config.js", 15 "build:dll": "webpack --config ./public/build/webpack.dll.indexcss.config.js",
16 "build": "webpack --config ./public/build/webpack.dll.indexcss.config.js && webpack --config ./public/build/webpack.prod.config.js", 16 "build": "webpack --config ./public/build/webpack.dll.indexcss.config.js && webpack --config ./public/build/webpack.prod.config.js",
17 "debug": "DEBUG=\"express:*\" nodemon -e js,hbs -i public/ app.js", 17 "debug": "DEBUG=\"express:*\" nodemon -e js,hbs -i public/ app.js",
18 - "lint:css": "stylelint -s scss --cache --custom-formatter ./node_modules/stylelint-formatter-table", 18 + "lint:css": "stylelint -s scss --config .stylelintrc.js --cache --custom-formatter ./node_modules/stylelint-formatter-table",
19 "lint:js": "eslint --ext .js,.vue --cache --format table", 19 "lint:js": "eslint --ext .js,.vue --cache --format table",
20 "lint-css": "npm run -s lint:css -- ./**/*.{scss,css,vue}", 20 "lint-css": "npm run -s lint:css -- ./**/*.{scss,css,vue}",
21 "lint-js": "npm run -s lint:js -- .", 21 "lint-js": "npm run -s lint:js -- .",