Skip to content

Commit

Permalink
fix(eslint): update groups
Browse files Browse the repository at this point in the history
  • Loading branch information
thecuvii committed Jul 23, 2024
1 parent 506c462 commit 617fd1a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions packages/eslint/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,14 +49,17 @@ export const factory = ({ next, prettier, reactQuery, tailwind }: EslintConfigOp
label: ['label', 'name'],
icon: ['icon'],
value: ['value'],
callback: ['on*', 'handle*'],
'framer-motion': ['initial', 'animate', 'exit', 'whileHover', 'whileTap', 'transition'],
is: ['is*'],
jsx: ['key', 'ref', 'id'],
links: ['link', 'href', 'to', 'src', 'url'],
meta: ['name', 'property', 'content'],
svg: ['d', 'width', 'height', 'viewBox', 'fill', 'stroke'],
}

const groups = [
'meta',
'as',
'jsx',
'children',
Expand All @@ -68,6 +71,7 @@ export const factory = ({ next, prettier, reactQuery, tailwind }: EslintConfigOp
'icon',
'value',
'svg',
'is',
'framer-motion',
'unknown',
'multiline',
Expand Down

0 comments on commit 617fd1a

Please sign in to comment.