Skip to content

Commit 9c538f8

Browse files
authored
Merge pull request #183 from brettz9/fixable-fix
Fixable fix
2 parents 252dd8c + 15229b6 commit 9c538f8

File tree

3 files changed

+4
-5
lines changed

3 files changed

+4
-5
lines changed

docs/rules/no-new-statics.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@
33
Calling a Promise static method with `new` is invalid, resulting in a
44
`TypeError` at runtime.
55

6+
:wrench: The `--fix` option on the command line can automatically fix the
7+
problems reported by this rule.
8+
69
## Rule Details
710

811
This rule is aimed at flagging instances where a Promise static method is called

docs/rules/param-names.md

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,6 @@
22

33
Enforce standard parameter names for Promise constructors
44

5-
:wrench: The `--fix` option on the command line can automatically fix some of
6-
the problems reported by this rule.
7-
85
#### Valid
96

107
```js

rules/param-names.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,7 @@ module.exports = {
66
meta: {
77
docs: {
88
url: getDocsUrl('param-names')
9-
},
10-
fixable: 'code'
9+
}
1110
},
1211
create(context) {
1312
return {

0 commit comments

Comments
 (0)