Skip to content

Commit

Permalink
Disable unicorn/no-keyword-prefix for React className
Browse files Browse the repository at this point in the history
  • Loading branch information
haydenbleasel committed May 28, 2024
1 parent b245733 commit 850b23c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/rules/unicorn.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,9 @@ const baseRules = Object.fromEntries(
availableKeys.map((key) => [`unicorn/${key}`, 'error'])
);

const overrideRules = {};
const overrideRules = {
'unicorn/no-keyword-prefix': 'off',
};

const config = Object.assign(baseRules, overrideRules);

Expand Down

0 comments on commit 850b23c

Please sign in to comment.