Skip to content

Commit

Permalink
fix(rules): adjust some rules as warning
Browse files Browse the repository at this point in the history
- unicorn/filename-case
- unicorn/prevent-abbreviations
  • Loading branch information
nelson6e65 committed Oct 11, 2023
1 parent a58f1ca commit 934a45d
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions src/rules/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
},
},
},
],
};

0 comments on commit 934a45d

Please # to comment.