Skip to content

Commit

Permalink
CSS linting: Adding stylelint-config-standard rules (mapbox#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 user committed Feb 13, 2018
1 parent d99d8e5 commit fed7eb5
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 fed7eb5

Please sign in to comment.