Skip to content

Commit

Permalink
fix: add unicorn/prevent-abbreviations rule
Browse files Browse the repository at this point in the history
  • Loading branch information
tusbar committed Feb 13, 2024
1 parent 4083161 commit c90493c
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions index.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,18 @@ module.exports = {
'unicorn/no-array-method-this-argument': 'off',
'unicorn/no-thenable': 'off',

'unicorn/prevent-abbreviations': [
'error',
{
replacements: {
// We don’t want fnSku to be replaced anywhere
fn: false,
// This is ok
i: false,
},
},
],

// Let’s not use ESM yet
'unicorn/prefer-module': 'off',

Expand Down

0 comments on commit c90493c

Please sign in to comment.