Swap out sass-lint

pull/328/head
Jake Gealer 2021-06-10 14:37:09 +01:00 committed by MattIPv4
parent 98ac6b2f21
commit eb8962d08d
3 changed files with 1253 additions and 2578 deletions

View File

@ -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
}
}

3786
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -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"
}, },