[eslint-v2] enforce yield-start-spacing, no-unused-labels, no-extra-label

This commit is contained in:
Harrison Shoff
2016-02-14 12:56:03 -08:00
committed by Jordan Harband
parent c05b2da9db
commit a126d0b85c
2 changed files with 3 additions and 3 deletions

View File

@@ -36,7 +36,7 @@ module.exports = {
'no-else-return': 2,
// disallow Unnecessary Labels
// http://eslint.org/docs/rules/no-extra-label
'no-extra-label': 0,
'no-extra-label': 2,
// disallow comparisons to null without a type-checking operator
'no-eq-null': 0,
// disallow use of eval()
@@ -107,7 +107,7 @@ module.exports = {
'no-unused-expressions': 2,
// disallow unused labels
// http://eslint.org/docs/rules/no-unused-labels
'no-unused-labels': 0,
'no-unused-labels': 2,
// disallow unnecessary .call() and .apply()
'no-useless-call': 0,
// disallow use of void operator

View File

@@ -61,6 +61,6 @@ module.exports = {
'sort-imports': 0,
// enforce spacing around the * in yield* expressions
// http://eslint.org/docs/rules/yield-star-spacing
'yield-star-spacing': 0
'yield-star-spacing': [2, 'after']
}
};