Skip to content

Commit

Permalink
Merge branch 'master' into closes#491
Browse files Browse the repository at this point in the history
  • Loading branch information
AlokTakshak committed Jun 6, 2019
2 parents 39e4284 + b29d9fc commit fc24933
Show file tree
Hide file tree
Showing 30 changed files with 750 additions and 218 deletions.
22 changes: 12 additions & 10 deletions _data/rules.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ categories:
- description: disallow using an async function as a Promise executor
fixable: false
name: no-async-promise-executor
recommended: false
recommended: true
- description: disallow `await` inside of loops
fixable: false
name: no-await-in-loop
Expand All @@ -31,7 +31,7 @@ categories:
- description: disallow the use of `console`
fixable: false
name: no-console
recommended: true
recommended: false
- description: disallow constant expressions in conditions
fixable: false
name: no-constant-condition
Expand Down Expand Up @@ -101,15 +101,15 @@ categories:
character class syntax
fixable: false
name: no-misleading-character-class
recommended: false
recommended: true
- description: disallow calling global object properties as functions
fixable: false
name: no-obj-calls
recommended: true
- description: disallow calling some `Object.prototype` methods directly on objects
fixable: false
name: no-prototype-builtins
recommended: false
recommended: true
- description: disallow multiple spaces in regular expressions
fixable: true
name: no-regex-spaces
Expand Down Expand Up @@ -145,7 +145,7 @@ categories:
`await` or `yield`
fixable: false
name: require-atomic-updates
recommended: false
recommended: true
- description: require calls to `isNaN()` when checking for `NaN`
fixable: false
name: use-isnan
Expand Down Expand Up @@ -226,7 +226,7 @@ categories:
- description: >-
disallow division operators explicitly at the beginning of regular
expressions
fixable: false
fixable: true
name: no-div-regex
recommended: false
- description: disallow `else` blocks after `return` statements in `if` statements
Expand Down Expand Up @@ -404,7 +404,7 @@ categories:
- description: disallow unnecessary `catch` clauses
fixable: false
name: no-useless-catch
recommended: false
recommended: true
- description: disallow unnecessary concatenation of literals or template literals
fixable: false
name: no-useless-concat
Expand All @@ -428,7 +428,7 @@ categories:
- description: disallow `with` statements
fixable: false
name: no-with
recommended: false
recommended: true
- description: enforce using named capture group in regular expression
fixable: false
name: prefer-named-capture-group
Expand Down Expand Up @@ -500,7 +500,7 @@ categories:
- description: disallow identifiers from shadowing restricted names
fixable: false
name: no-shadow-restricted-names
recommended: false
recommended: true
- description: >-
disallow the use of undeclared variables unless mentioned in `/*global
*/` comments
Expand Down Expand Up @@ -755,7 +755,9 @@ categories:
fixable: false
name: new-cap
recommended: false
- description: require parentheses when invoking a constructor with no arguments
- description: >-
enforce or disallow parentheses when invoking a constructor with no
arguments
fixable: true
name: new-parens
recommended: false
Expand Down
Loading

0 comments on commit fc24933

Please sign in to comment.