Skip to content

Commit c36196d

Browse files
committed
update unicorn rules
1 parent 502fcea commit c36196d

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

lib/rules/unicorn.js

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,15 @@ export default {
1515
"checkFilenames": false
1616
}
1717
],
18+
// https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/filename-case.md
19+
'unicorn/filename-case': 'off',
20+
// https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/import-style.md
21+
'unicorn/import-style': [
22+
'warn',
23+
{
24+
checkImport: false,
25+
},
26+
],
27+
// https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/no-abusive-eslint-disable.md
28+
'unicorn/no-abusive-eslint-disable': 'warn',
1829
}

0 commit comments

Comments
 (0)