Fix sass linting.
gitea/icedream/rekt-theme/master There was a failure building this commit
Details
gitea/icedream/rekt-theme/master There was a failure building this commit
Details
parent
3e79d60a17
commit
7ef73a4fda
|
@ -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:
|
|
@ -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'
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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",
|
||||
|
|
Loading…
Reference in New Issue