Fix sass linting.
gitea/icedream/rekt-theme/master There was a failure building this commit Details

header/meta/side-by-side
Icedream 2018-07-16 00:19:03 +02:00
parent 3e79d60a17
commit 7ef73a4fda
Signed by: icedream
GPG Key ID: 1573F6D8EFE4D0CF
3 changed files with 9 additions and 9 deletions

View File

@ -1,16 +1,16 @@
#########################
## Sample Sass Lint File
#########################
###############################################################################
# sass-lint configuration
# Linter Options
options:
merge-default-rules: true
merge-default-rules: false
max-warnings: 1000
# File Options
files:
include: 'src/**/*.s+(a|c)ss'
ignore:
- 'node_modules/**/*.*'
- 'node_modules/**/*'
# Rule Configuration
rules:
@ -23,7 +23,6 @@ rules:
exclude:
- breakpoint
- mq
no-warn: 1
no-debug: 1
no-duplicate-properties:

5
Jenkinsfile vendored
View File

@ -114,8 +114,9 @@ pipeline {
}
steps {
unstash 'node_modules'
sh "yarn lint:sass -f checkstyle -o checkstyle_less.xml || true"
stash name: 'lint-sass', includes: 'checkstyle_less.xml'
writeFile file: 'checkstyle_sass.xml', text: '<?xml version="1.0" encoding="utf-8"?><checkstyle version="4.3"></checkstyle>'
sh "yarn lint:sass -f checkstyle -o checkstyle_sass.xml || true"
stash name: 'lint-sass', includes: 'checkstyle_sass.xml'
}
}
}

View File

@ -10,7 +10,7 @@
"build": "run-s build:development --",
"clean": "rimraf dist",
"lint": "run-s lint:* --",
"lint:sass": "sass-lint -v -q -c sass-lint.yml",
"lint:sass": "sass-lint -v -q",
"lint:eslint": "eslint .",
"postinstall": "node ./devtools/lockfiles",
"prepublishOnly": "run-s build:production",