Skip to content

Commit

Permalink
Merge pull request #3 from bigchaindb/fix/stylelint
Browse files Browse the repository at this point in the history
Remove deprecated rules
  • Loading branch information
kremalicious authored Jul 18, 2017
2 parents 1ac861c + 664754d commit 62cc96f
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 10 deletions.
5 changes: 2 additions & 3 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand All @@ -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',
Expand All @@ -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
}
}
10 changes: 5 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
}
4 changes: 2 additions & 2 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
}
Expand Down

0 comments on commit 62cc96f

Please sign in to comment.