Swap out sass-lint
parent
98ac6b2f21
commit
eb8962d08d
38
.sasslintrc
38
.sasslintrc
|
@ -1,38 +0,0 @@
|
||||||
{
|
|
||||||
"rules": {
|
|
||||||
"quotes": [
|
|
||||||
2,
|
|
||||||
{
|
|
||||||
"style": "double"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"pseudo-element": 2,
|
|
||||||
"trailing-semicolon": 2,
|
|
||||||
"final-newline": 2,
|
|
||||||
"leading-zero": 2,
|
|
||||||
"no-trailing-zero": 2,
|
|
||||||
"no-css-comments": 0,
|
|
||||||
"no-vendor-prefixes": 0,
|
|
||||||
"no-transition-all": 0,
|
|
||||||
"property-sort-order": 2,
|
|
||||||
"empty-line-between-blocks": 2,
|
|
||||||
"single-line-per-selector": 2,
|
|
||||||
"no-duplicate-properties": 2,
|
|
||||||
"no-color-literals": 0,
|
|
||||||
"hex-notation": [
|
|
||||||
2,
|
|
||||||
{
|
|
||||||
"style": "lowercase"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"hex-length": 2,
|
|
||||||
"force-element-nesting": 0,
|
|
||||||
"force-pseudo-nesting": 0,
|
|
||||||
"nesting-depth": 0,
|
|
||||||
"no-qualifying-elements": 0,
|
|
||||||
"indentation": 1,
|
|
||||||
"no-url-domains": 0,
|
|
||||||
"no-url-protocols": 0,
|
|
||||||
"placeholder-in-extend": 0
|
|
||||||
}
|
|
||||||
}
|
|
File diff suppressed because it is too large
Load Diff
|
@ -20,12 +20,12 @@
|
||||||
"dev": "npm run build:template && npm run build:prism && npm run dev:tool",
|
"dev": "npm run build:template && npm run build:prism && npm run dev:tool",
|
||||||
"dev:tool": "vue-cli-service serve src/nginxconfig/mount.js",
|
"dev:tool": "vue-cli-service serve src/nginxconfig/mount.js",
|
||||||
"deploy:spaces:comment": "do-vue comment nginxconfig",
|
"deploy:spaces:comment": "do-vue comment nginxconfig",
|
||||||
"test": "npm run test:eslint && npm run test:sass-lint && npm run test:i18n-packs && npm run test:jest",
|
"test": "npm run test:eslint && npm run test:stylelint && npm run test:i18n-packs && npm run test:jest",
|
||||||
"test:jest": "jest --env=jsdom /test/.*.js?$",
|
"test:jest": "jest --env=jsdom /test/.*.js?$",
|
||||||
"test:fix": "npm run test:eslint:fix",
|
"test:fix": "npm run test:eslint:fix",
|
||||||
"test:eslint": "eslint 'src/**/*.{js,vue}'",
|
"test:eslint": "eslint 'src/**/*.{js,vue}'",
|
||||||
"test:eslint:fix": "npm run test:eslint -- --fix",
|
"test:eslint:fix": "npm run test:eslint -- --fix",
|
||||||
"test:sass-lint": "sass-lint 'src/**/*.scss' --verbose --no-exit --config .sasslintrc",
|
"test:stylelint": "stylelint 'src/**/*.scss' --config node_modules/do-bulma/.stylelintrc.json",
|
||||||
"test:i18n-packs": "node --es-module-specifier-resolution=node src/nginxconfig/i18n/verify.js"
|
"test:i18n-packs": "node --es-module-specifier-resolution=node src/nginxconfig/i18n/verify.js"
|
||||||
},
|
},
|
||||||
"jest": {
|
"jest": {
|
||||||
|
@ -80,8 +80,9 @@
|
||||||
"node-fetch": "^3.2.0",
|
"node-fetch": "^3.2.0",
|
||||||
"postcss": "^8.4.6",
|
"postcss": "^8.4.6",
|
||||||
"sass": "^1.49.7",
|
"sass": "^1.49.7",
|
||||||
"sass-lint": "git+https://github.com/do-community/sass-lint.git",
|
|
||||||
"sass-loader": "^11.1.1",
|
"sass-loader": "^11.1.1",
|
||||||
|
"stylelint": "^14.3.0",
|
||||||
|
"stylelint-order": "^5.0.0",
|
||||||
"vue-template-compiler": "^2.6.14",
|
"vue-template-compiler": "^2.6.14",
|
||||||
"webpack-bundle-analyzer": "^4.5.0"
|
"webpack-bundle-analyzer": "^4.5.0"
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue