mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
chore(sass): update the sass lint task and change warnings to error
This commit is contained in:
@@ -45,7 +45,7 @@ rules:
|
||||
no-duplicate-properties: 0
|
||||
no-mergeable-selectors: 1
|
||||
no-misspelled-properties:
|
||||
- 1
|
||||
- 2
|
||||
- extra-properties:
|
||||
- contain
|
||||
- overscroll-behavior
|
||||
@@ -60,7 +60,7 @@ rules:
|
||||
|
||||
|
||||
property-sort-order:
|
||||
- 1
|
||||
- 2
|
||||
- ignore-custom-properties: false
|
||||
order:
|
||||
|
||||
@@ -203,5 +203,5 @@ rules:
|
||||
- transition-property
|
||||
- transition-timing-function
|
||||
quotes:
|
||||
- 1
|
||||
- 2
|
||||
- style: double
|
||||
@@ -59,7 +59,7 @@
|
||||
"e2e": "node ./scripts/e2e",
|
||||
"e2e-debug": "node --inspect --debug-brk ./scripts/e2e",
|
||||
"lint": "npm run lint.ts && npm run lint.sass",
|
||||
"lint.sass": "sass-lint -v",
|
||||
"lint.sass": "sass-lint -v -q",
|
||||
"lint.ts": "tslint --project .",
|
||||
"lint.ts.fix": "tslint --project . --fix",
|
||||
"prerelease": "npm run validate && np prerelease --yolo --any-branch --tag next",
|
||||
|
||||
Reference in New Issue
Block a user