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
|
# Linter Options
|
||||||
options:
|
options:
|
||||||
merge-default-rules: true
|
merge-default-rules: false
|
||||||
max-warnings: 1000
|
max-warnings: 1000
|
||||||
|
|
||||||
# File Options
|
# File Options
|
||||||
files:
|
files:
|
||||||
include: 'src/**/*.s+(a|c)ss'
|
include: 'src/**/*.s+(a|c)ss'
|
||||||
ignore:
|
ignore:
|
||||||
- 'node_modules/**/*.*'
|
- 'node_modules/**/*'
|
||||||
|
|
||||||
# Rule Configuration
|
# Rule Configuration
|
||||||
rules:
|
rules:
|
||||||
|
@ -23,7 +23,6 @@ rules:
|
||||||
exclude:
|
exclude:
|
||||||
- breakpoint
|
- breakpoint
|
||||||
- mq
|
- mq
|
||||||
|
|
||||||
no-warn: 1
|
no-warn: 1
|
||||||
no-debug: 1
|
no-debug: 1
|
||||||
no-duplicate-properties:
|
no-duplicate-properties:
|
|
@ -114,8 +114,9 @@ pipeline {
|
||||||
}
|
}
|
||||||
steps {
|
steps {
|
||||||
unstash 'node_modules'
|
unstash 'node_modules'
|
||||||
sh "yarn lint:sass -f checkstyle -o checkstyle_less.xml || true"
|
writeFile file: 'checkstyle_sass.xml', text: '<?xml version="1.0" encoding="utf-8"?><checkstyle version="4.3"></checkstyle>'
|
||||||
stash name: 'lint-sass', includes: 'checkstyle_less.xml'
|
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 --",
|
"build": "run-s build:development --",
|
||||||
"clean": "rimraf dist",
|
"clean": "rimraf dist",
|
||||||
"lint": "run-s lint:* --",
|
"lint": "run-s lint:* --",
|
||||||
"lint:sass": "sass-lint -v -q -c sass-lint.yml",
|
"lint:sass": "sass-lint -v -q",
|
||||||
"lint:eslint": "eslint .",
|
"lint:eslint": "eslint .",
|
||||||
"postinstall": "node ./devtools/lockfiles",
|
"postinstall": "node ./devtools/lockfiles",
|
||||||
"prepublishOnly": "run-s build:production",
|
"prepublishOnly": "run-s build:production",
|
||||||
|
|
Loading…
Reference in New Issue