-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add stylelinting to ensure
mapboxgl-
prefix on all classes (#4584)
* Add stylelint CLI and Add mapbox class name rule in stylelintrc * # This is a combination of 3 commits. # This is the 1st commit message: Stylelint works for application # This is the commit message #2: WIP modify lint-css script in package.json # This is the commit message #3: Ammend warning for lint-css npm script * Stylelint implemented for application WIP modify lint-css script in package.json Ammend warning for lint-css npm script Add csscolorparser * Add lintx to script file * Took out lintx * Took out lintx * Resolve comments to 4584 PR * Resolve PR comments * Ignore stylelint in .flowconfig and remove true from scripts
- Loading branch information
Showing
3 changed files
with
9 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
{ | ||
"rules": { | ||
"selector-class-pattern": "mapboxgl-[a-z-]+" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters