-
Notifications
You must be signed in to change notification settings - Fork 9
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 #49 from OperationSpark/fix-color
Fix `cli-color` to invoke instance instead of using prototype
- Loading branch information
Showing
24 changed files
with
865 additions
and
627 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,23 @@ | ||
module.exports = { | ||
"extends": "airbnb-base", | ||
"plugins": ["import"], | ||
"rules": { | ||
extends: 'airbnb-base', | ||
plugins: ['import'], | ||
rules: { | ||
// enable additional rules | ||
"quotes": ["error", "single"], | ||
"semi": ["error", "always"], | ||
quotes: ['error', 'single'], | ||
semi: ['error', 'always'], | ||
|
||
// disable rules from base configurations | ||
"no-underscore-dangle": "off", | ||
"no-unused-expressions": "off", | ||
"comma-dangle": "off", | ||
"no-console": "off", | ||
"no-use-before-define": "off", | ||
"func-names": "off", | ||
"consistent-return": "off", | ||
"prefer-arrow-callback": "off", | ||
'no-underscore-dangle': 'off', | ||
'no-unused-expressions': 'off', | ||
'comma-dangle': 'off', | ||
'no-console': 'off', | ||
'no-use-before-define': 'off', | ||
'func-names': 'off', | ||
'consistent-return': 'off', | ||
'prefer-arrow-callback': 'off', | ||
'arrow-parens': 'as-needed', | ||
// Windows friendly -- does not show errors on every line of every file | ||
"no-unused-vars": 1, | ||
"linebreak-style": 0 | ||
'no-unused-vars': 1, | ||
'linebreak-style': 0 | ||
} | ||
}; |
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.