-
Notifications
You must be signed in to change notification settings - Fork 529
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #933 from sasstools/release/1.10
Prepare 1.10
- Loading branch information
Showing
102 changed files
with
2,848 additions
and
202 deletions.
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
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
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
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,29 @@ | ||
# Max warnings | ||
|
||
An error will be thrown if the total number of warnings exceeds the `max-warnings` setting. | ||
|
||
## Examples | ||
|
||
This can be set as a command-line option: | ||
|
||
``` bash | ||
$ sass-lint --max-warnings 50 | ||
``` | ||
|
||
In `.sass-lint.yml`: | ||
|
||
``` yaml | ||
options: | ||
max-warnings: 50 | ||
``` | ||
Or inside a script: | ||
``` javascript | ||
var sassLint = require('sass-lint'), | ||
config = {options: {'max-warnings': 50}}; | ||
|
||
results = sassLint.lintFiles('sass/**/*.scss', config) | ||
sassLint.failOnError(results, config); | ||
``` | ||
|
Oops, something went wrong.