Skip to content

Commit c05be02

Browse files
Merge pull request #1 from Way2Web/feature/no-new-warn
Only warn for unused new
2 parents 4c1b573 + b1a8f46 commit c05be02

File tree

3 files changed

+677
-976
lines changed

3 files changed

+677
-976
lines changed

.eslintrc.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ module.exports = {
2525
expect: false
2626
},
2727
rules: {
28+
"no-new": "warn",
2829
indent: ['error', 4, {
2930
ignoredNodes: ['TemplateLiteral']
3031
}],
@@ -87,7 +88,7 @@ module.exports = {
8788
'error',
8889
{
8990
code: 120,
90-
comments: 80,
91+
comments: 120,
9192
tabWidth: 4
9293
}
9394
],

0 commit comments

Comments
 (0)