|
@@ -31,9 +31,15 @@
|
|
|
},
|
|
},
|
|
|
"stylelint": {
|
|
"stylelint": {
|
|
|
"extends": "stylelint-config-standard",
|
|
"extends": "stylelint-config-standard",
|
|
|
|
|
+ "plugins": [
|
|
|
|
|
+ "stylelint-scss"
|
|
|
|
|
+ ],
|
|
|
"rules": {
|
|
"rules": {
|
|
|
|
|
+ "max-empty-lines": 4,
|
|
|
"number-leading-zero": null,
|
|
"number-leading-zero": null,
|
|
|
- "no-descending-specificity": null
|
|
|
|
|
|
|
+ "no-descending-specificity": null,
|
|
|
|
|
+ "at-rule-no-unknown": null,
|
|
|
|
|
+ "scss/at-rule-no-unknown": true
|
|
|
}
|
|
}
|
|
|
},
|
|
},
|
|
|
"dependencies": {
|
|
"dependencies": {
|
|
@@ -131,6 +137,7 @@
|
|
|
"style-loader": "^1.1.3",
|
|
"style-loader": "^1.1.3",
|
|
|
"stylelint": "13.6.0",
|
|
"stylelint": "13.6.0",
|
|
|
"stylelint-config-standard": "20.0.0",
|
|
"stylelint-config-standard": "20.0.0",
|
|
|
|
|
+ "stylelint-scss": "3.18.0",
|
|
|
"ts-loader": "7.0.5",
|
|
"ts-loader": "7.0.5",
|
|
|
"typescript": "3.9.5",
|
|
"typescript": "3.9.5",
|
|
|
"vue-jest": "^3.0.6",
|
|
"vue-jest": "^3.0.6",
|
|
@@ -152,8 +159,8 @@
|
|
|
"dev-workers": "webpack --config webpack.config.workers.js --watch -d",
|
|
"dev-workers": "webpack --config webpack.config.workers.js --watch -d",
|
|
|
"less": "./node_modules/.bin/grunt less",
|
|
"less": "./node_modules/.bin/grunt less",
|
|
|
"less-dev": "./node_modules/.bin/grunt watch",
|
|
"less-dev": "./node_modules/.bin/grunt watch",
|
|
|
- "less-lint": "stylelint \"desktop/core/src/desktop/static/desktop/less/**/*.less\"",
|
|
|
|
|
- "less-lint-fix": "npm run less-lint -- --fix",
|
|
|
|
|
|
|
+ "style-lint": "stylelint \"desktop/core/src/desktop/static/desktop/less/**/*.less\" \"desktop/core/src/desktop/js/**/*.scss\"" ,
|
|
|
|
|
+ "style-lint-fix": "npm run style-lint -- --fix",
|
|
|
"lint": "eslint desktop/core/src/desktop/js tools/sql-docs tools/jison",
|
|
"lint": "eslint desktop/core/src/desktop/js tools/sql-docs tools/jison",
|
|
|
"lint-debug": "npm run lint -- --debug",
|
|
"lint-debug": "npm run lint -- --debug",
|
|
|
"lint-fix": "npm run lint -- --fix",
|
|
"lint-fix": "npm run lint -- --fix",
|