1
0
mirror of https://github.com/bigchaindb/stylelint-config-bigchaindb.git synced 2024-12-28 07:37:48 +01:00

Merge pull request #3 from bigchaindb/fix/stylelint

Remove deprecated rules
This commit is contained in:
Matthias Kretschmann 2017-07-18 13:19:53 +02:00 committed by GitHub
commit 62cc96f5e1
3 changed files with 9 additions and 10 deletions

View File

@ -8,7 +8,6 @@ module.exports = {
'color-hex-length': 'short',
'color-named': 'never',
'selector-no-qualifying-type': true,
'selector-no-id': true,
'selector-combinator-space-after': 'always',
'selector-attribute-quotes': 'always',
'selector-attribute-operator-space-before': 'never',
@ -27,7 +26,6 @@ module.exports = {
'comment-empty-line-before': 'always',
'selector-pseudo-element-colon-notation': 'single',
'selector-pseudo-class-parentheses-space-inside': 'never',
'selector-no-type': true,
'media-feature-range-operator-space-before': 'always',
'media-feature-range-operator-space-after': 'always',
'media-feature-parentheses-space-inside': 'never',
@ -40,6 +38,7 @@ module.exports = {
'value-no-vendor-prefix': true,
'max-nesting-depth': 3,
'selector-max-compound-selectors': 3,
'max-empty-lines': 2
'max-empty-lines': 2,
'selector-max-id': 0
}
}

View File

@ -28,12 +28,12 @@
"devDependencies": {
"babel-eslint": "^7.2.3",
"eslint": "^4.1.0",
"eslint-config-ascribe": "^3.0.1",
"eslint-plugin-import": "^2.3.0",
"release-it": "^2.7.3"
"eslint-config-ascribe": "^3.0.4",
"eslint-plugin-import": "^2.7.0",
"release-it": "^2.8.0"
},
"peerDependencies": {
"stylelint": "^7.8.0",
"stylelint-config-standard": "^16.0.0"
"stylelint": "^8.0.0",
"stylelint-config-standard": "^17.0.0"
}
}

View File

@ -37,8 +37,8 @@ If you really know what you're doing™ you can change or disable individual rul
```json
{
"extends": "stylelint-config-bigchaindb",
rules: {
"selector-no-type": null,
"rules": {
"selector-max-id": 1,
"selector-no-qualifying-type": null
}
}