This repository was archived by the owner on May 12, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -74,6 +74,11 @@ module.exports = {
7474 'comma-spacing' : 'off' ,
7575 '@typescript-eslint/comma-spacing' : baseStyleRules [ 'comma-spacing' ] ,
7676
77+ // Replace Airbnb 'default-param-last' rule with '@typescript-eslint' version
78+ // https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/default-param-last.md
79+ 'default-param-last' : 'off' ,
80+ '@typescript-eslint/default-param-last' : baseBestPracticesRules [ 'default-param-last' ] ,
81+
7782 // Replace Airbnb 'dot-notation' rule with '@typescript-eslint' version
7883 // https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/docs/rules/dot-notation.md
7984 'dot-notation' : 'off' ,
@@ -130,6 +135,11 @@ module.exports = {
130135 'no-new-func' : 'off' ,
131136 '@typescript-eslint/no-implied-eval' : baseBestPracticesRules [ 'no-implied-eval' ] ,
132137
138+ // Replace Airbnb 'no-loss-of-precision' rule with '@typescript-eslint' version
139+ // https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/docs/rules/no-loss-of-precision.md
140+ 'no-loss-of-precision' : 'off' ,
141+ '@typescript-eslint/no-loss-of-precision' : baseErrorsRules [ 'no-loss-of-precision' ] ,
142+
133143 // Replace Airbnb 'no-loop-func' rule with '@typescript-eslint' version
134144 // https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/docs/rules/no-loop-func.md
135145 'no-loop-func' : 'off' ,
You can’t perform that action at this time.
0 commit comments