File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed
Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -70,10 +70,10 @@ module.exports = {
7070 '@typescript-eslint/no-explicit-any' : 'off' ,
7171 // TODO rennable this rule (by removing this off)
7272 '@typescript-eslint/explicit-function-return-type' : 'off' ,
73- // TODO rennable this rule (by removing this off)
74- 'no-null/no-null' : 'off' ,
7573 // TODO reenable this rule, tests mostly break this one (by changing off to error)
74+ // This currently produces 700 non fixable by --fix errors
7675 'sort-imports' : 'off' ,
76+ 'no-null/no-null' : 'error' ,
7777 '@typescript-eslint/no-empty-function' : 'off' ,
7878 '@typescript-eslint/no-unused-vars' : 'off' ,
7979 // Do not check loops so while(true) works. Potentially reevalute this.
Original file line number Diff line number Diff line change @@ -33,6 +33,8 @@ export class FakeFileStreams implements FileStreams {
3333 objectMode : true ,
3434 read ( ) {
3535 this . push ( readData )
36+ // MUST be null or else it will not stop reading
37+ // eslint-disable-next-line no-null/no-null
3638 this . push ( null )
3739 } ,
3840 } )
@@ -64,6 +66,8 @@ export class FakeFileStreams implements FileStreams {
6466 objectMode : true ,
6567 read ( ) {
6668 this . push ( data )
69+ // MUST be null or else it will not stop reading
70+ // eslint-disable-next-line no-null/no-null
6771 this . push ( null )
6872 } ,
6973 } )
You can’t perform that action at this time.
0 commit comments