Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit d52a683

Browse files
committed
fix(eslint-plugin): correct eslint-recommended settings
1 parent 2600a9f commit d52a683

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

packages/eslint-plugin/src/configs/eslint-recommended.ts

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -15,23 +15,23 @@ export default {
1515
* 1. Disable things that are checked by Typescript
1616
*/
1717
//Checked by Typescript - ts(2378)
18-
'getter-return': false,
18+
'getter-return': 'off',
1919
// Checked by Typescript - ts(2300)
20-
'no-dupe-args': false,
20+
'no-dupe-args': 'off',
2121
// Checked by Typescript - ts(1117)
22-
'no-dupe-keys': false,
22+
'no-dupe-keys': 'off',
2323
// Checked by Typescript - ts(7027)
24-
'no-unreachable': false,
24+
'no-unreachable': 'off',
2525
// Checked by Typescript - ts(2367)
26-
'valid-typeof': false,
26+
'valid-typeof': 'off',
2727
// Checked by Typescript - ts(2588)
28-
'no-const-assign': false,
28+
'no-const-assign': 'off',
2929
// Checked by Typescript - ts(2588)
30-
'no-new-symbol': false,
30+
'no-new-symbol': 'off',
3131
// Checked by Typescript - ts(2376)
32-
'no-this-before-super': false,
32+
'no-this-before-super': 'off',
3333
// This is checked by Typescript using the option `strictNullChecks`.
34-
'no-undef': false,
34+
'no-undef': 'off',
3535
/**
3636
* 2. Enable more ideomatic code
3737
*/

0 commit comments

Comments
 (0)