This repository was archived by the owner on Aug 14, 2024. It is now read-only.
File tree 1 file changed +10
-0
lines changed
1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -74,6 +74,11 @@ module.exports = {
74
74
'comma-spacing' : 'off' ,
75
75
'@typescript-eslint/comma-spacing' : baseStyleRules [ 'comma-spacing' ] ,
76
76
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
+
77
82
// Replace Airbnb 'dot-notation' rule with '@typescript-eslint' version
78
83
// https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/docs/rules/dot-notation.md
79
84
'dot-notation' : 'off' ,
@@ -130,6 +135,11 @@ module.exports = {
130
135
'no-new-func' : 'off' ,
131
136
'@typescript-eslint/no-implied-eval' : baseBestPracticesRules [ 'no-implied-eval' ] ,
132
137
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
+
133
143
// Replace Airbnb 'no-loop-func' rule with '@typescript-eslint' version
134
144
// https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/docs/rules/no-loop-func.md
135
145
'no-loop-func' : 'off' ,
You can’t perform that action at this time.
0 commit comments