mirror of
https://github.com/MichMich/MagicMirror.git
synced 2025-08-21 04:45:17 +00:00
Replace grunt-stylelint with stylelint
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
{
|
||||
"extends": "stylelint-config-standard",
|
||||
"font-family-name-quotes": "double-where-recommended",
|
||||
"block-no-empty": false
|
||||
"block-no-empty": false,
|
||||
"ignoreFiles": ["./modules/default/alert/ns-default.css"]
|
||||
}
|
||||
|
16
Gruntfile.js
16
Gruntfile.js
@@ -23,21 +23,6 @@ module.exports = function(grunt) {
|
||||
"vendor/vendor.js"
|
||||
]
|
||||
},
|
||||
stylelint: {
|
||||
simple: {
|
||||
options: {
|
||||
fix: fix,
|
||||
configFile: ".stylelintrc.json"
|
||||
},
|
||||
src: [
|
||||
"css/main.css",
|
||||
"modules/default/calendar/calendar.css",
|
||||
"modules/default/clock/clock_styles.css",
|
||||
"modules/default/currentweather/currentweather.css",
|
||||
"modules/default/weatherforcast/weatherforcast.css"
|
||||
]
|
||||
}
|
||||
},
|
||||
jsonlint: {
|
||||
main: {
|
||||
src: [
|
||||
@@ -92,7 +77,6 @@ module.exports = function(grunt) {
|
||||
}
|
||||
});
|
||||
grunt.loadNpmTasks("grunt-eslint");
|
||||
grunt.loadNpmTasks("grunt-stylelint");
|
||||
grunt.loadNpmTasks("grunt-jsonlint");
|
||||
grunt.loadNpmTasks("grunt-markdownlint");
|
||||
|
||||
|
@@ -13,8 +13,10 @@
|
||||
"test:unit": "NODE_ENV=test ./node_modules/mocha/bin/mocha tests/unit --recursive",
|
||||
"test:e2e": "NODE_ENV=test ./node_modules/mocha/bin/mocha tests/e2e --recursive",
|
||||
"test:lint": "grunt --env=test",
|
||||
"test:style": "stylelint css/main.css modules/default/**/*.css --config .stylelintrc.json",
|
||||
"config:check": "node tests/configs/check_config.js",
|
||||
"lint": "grunt --env=lint",
|
||||
"lint:style": "stylelint css/main.css modules/default/**/*.css --config .stylelintrc.json --fix",
|
||||
"lint:yaml": "yamllint .travis.yml"
|
||||
},
|
||||
"repository": {
|
||||
@@ -45,7 +47,6 @@
|
||||
"grunt-eslint": "latest",
|
||||
"grunt-jsonlint": "latest",
|
||||
"grunt-markdownlint": "latest",
|
||||
"grunt-stylelint": "latest",
|
||||
"http-auth": "^3.2.3",
|
||||
"jsdom": "^11.6.2",
|
||||
"mocha": "^7.0.0",
|
||||
|
Reference in New Issue
Block a user