diff --git a/src/rules/index.ts b/src/rules/index.ts index 754e554..218accc 100644 --- a/src/rules/index.ts +++ b/src/rules/index.ts @@ -7,4 +7,27 @@ export const baseRules: Linter.RulesRecord = { 'unicorn/no-null': 'off', 'no-console': 'warn', 'unicorn/prefer-module': 'warn', + 'unicorn/filename-case': [ + 'warn', + { + case: 'kebabCase', + }, + ], + 'unicorn/prevent-abbreviations': [ + 'warn', + { + replacements: { + i: { + index: false, + }, + e: { + event: false, + }, + res: false, + cmd: { + command: true, + }, + }, + }, + ], };