Skip to content

Commit

Permalink
Merge pull request #183 from brettz9/fixable-fix
Browse files Browse the repository at this point in the history
Fixable fix
  • Loading branch information
xjamundx committed Jul 8, 2020
2 parents 252dd8c + 15229b6 commit 9c538f8
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
3 changes: 3 additions & 0 deletions docs/rules/no-new-statics.md
Expand Up @@ -3,6 +3,9 @@
Calling a Promise static method with `new` is invalid, resulting in a
`TypeError` at runtime.

:wrench: The `--fix` option on the command line can automatically fix the
problems reported by this rule.

## Rule Details

This rule is aimed at flagging instances where a Promise static method is called
Expand Down
3 changes: 0 additions & 3 deletions docs/rules/param-names.md
Expand Up @@ -2,9 +2,6 @@

Enforce standard parameter names for Promise constructors

:wrench: The `--fix` option on the command line can automatically fix some of
the problems reported by this rule.

#### Valid

```js
Expand Down
3 changes: 1 addition & 2 deletions rules/param-names.js
Expand Up @@ -6,8 +6,7 @@ module.exports = {
meta: {
docs: {
url: getDocsUrl('param-names')
},
fixable: 'code'
}
},
create(context) {
return {
Expand Down

0 comments on commit 9c538f8

Please sign in to comment.