File tree Expand file tree Collapse file tree 1 file changed +1
-23
lines changed Expand file tree Collapse file tree 1 file changed +1
-23
lines changed Original file line number Diff line number Diff line change @@ -257,29 +257,7 @@ module.exports = {
257257 'unicorn/prefer-number-properties' : 'off' ,
258258 'unicorn/custom-error-definition' : 'off' , // false positives: https://github.com/sindresorhus/eslint-plugin-unicorn/issues/753
259259 'unicorn/no-nested-ternary' : 'off' , // if-elseif-else ternaries are commonly needed in JSX and formatted well by Prettier
260- 'id-length' : [
261- 'error' ,
262- {
263- min : 3 ,
264- properties : 'never' ,
265- exceptions : [
266- // valid
267- 'to' ,
268- 'as' ,
269- 'id' ,
270- 'it' , // BDD testing
271- // NodeJS standard library
272- 'fs' ,
273- 'os' ,
274- // conventionally used for import * as H from 'history' to not conflict with the global history
275- 'H' ,
276- // allow `distinctUntilChanged((a, b) => isEqual(a, b))`,
277- // which is extremely common and necessary to maintain type safety.
278- 'a' ,
279- 'b' ,
280- ] ,
281- } ,
282- ] ,
260+ 'id-length' : 'off' ,
283261 'unicorn/prevent-abbreviations' : 'off' ,
284262 'unused-imports/no-unused-imports' : 'error' ,
285263 'unused-imports/no-unused-vars' : 'off' ,
You can’t perform that action at this time.
0 commit comments