Skip to content

Commit

Permalink
CSS linting: Adding stylelint-config-standard rules (#6071)
Browse files Browse the repository at this point in the history
* Adding stylelint-config-standard

* Passing linting

* border: none -> border: 0

* Addressing feedback

* Fixing last instance of incorrect class name

* mapbox-ctrl-bottom-right -> mapboxgl-ctrl-bottom-right

* Stricter selector pattern
  • Loading branch information
jasonbarry authored and mollymerp committed Feb 6, 2018
1 parent 063fdeb commit d342187
Show file tree
Hide file tree
Showing 4 changed files with 521 additions and 362 deletions.
2 changes: 2 additions & 0 deletions .stylelintrc
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
{
"extends": "stylelint-config-standard",
"rules": {
"indentation": 4,
"selector-class-pattern": "mapboxgl-[a-z-]+"
}
}
Loading

0 comments on commit d342187

Please sign in to comment.