-
Notifications
You must be signed in to change notification settings - Fork 165
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 #76 from protofire/feature/add-whitelisting
Switch from Blacklisting to Whitelisting
- Loading branch information
Showing
126 changed files
with
2,771 additions
and
2,115 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,21 @@ | ||
const NoMixTabAndSpacesChecker = require('./no-mix-tabs-and-spaces') | ||
const ArrayDeclarationSpacesChecker = require('./array-declaration-spaces') | ||
const BracketAlign = require('./bracket-align') | ||
const ExpressionIndentChecker = require('./expression-indent') | ||
const IndentChecker = require('./indent') | ||
const BracketsAlign = require('./brackets-align') | ||
const ArrayDeclarationChecker = require('./array-declaration') | ||
const ExpressionAlignChecker = require('./expression-align') | ||
const StatementsAlignChecker = require('./statements-align') | ||
const SpaceAfterCommaChecker = require('./space-after-comma') | ||
const NoMixTabsAndSpacesChecker = require('./no-mix-tabs-and-spaces') | ||
const NoSpacesBeforeSemicolonChecker = require('./no-spaces-before-semicolon') | ||
const SpaceAfterCommaChecker = require('./space-after-comma') | ||
const StatementsAlignChecker = require('./statement-indent') | ||
|
||
module.exports = function checkers(reporter, config) { | ||
return [ | ||
new NoMixTabAndSpacesChecker(reporter, config), | ||
new ArrayDeclarationSpacesChecker(reporter), | ||
new BracketAlign(reporter), | ||
new ExpressionIndentChecker(reporter), | ||
new IndentChecker(reporter, config), | ||
new BracketsAlign(reporter), | ||
new ArrayDeclarationChecker(reporter), | ||
new ExpressionAlignChecker(reporter), | ||
new StatementsAlignChecker(reporter), | ||
new NoMixTabsAndSpacesChecker(reporter, config), | ||
new NoSpacesBeforeSemicolonChecker(reporter), | ||
new SpaceAfterCommaChecker(reporter), | ||
new NoSpacesBeforeSemicolonChecker(reporter) | ||
new StatementsAlignChecker(reporter) | ||
] | ||
} |
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
Oops, something went wrong.