Skip to content

Commit

Permalink
more
Browse files Browse the repository at this point in the history
  • Loading branch information
dimaMachina committed Nov 22, 2024
1 parent 60673db commit aa1f28d
Showing 1 changed file with 13 additions and 4 deletions.
17 changes: 13 additions & 4 deletions .eslintrc.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,9 @@ module.exports = {
'no-restricted-imports': [
'error',
{ name: 'next/link', message: 'Use `<Anchor>` instead' }
]
],
// False positive due Tailwind CSS v4
'tailwindcss/no-custom-classname': 'off'
}
},
// ⚙️ nextra-theme-blog
Expand All @@ -194,7 +196,9 @@ module.exports = {
message:
'Use `useTransitionRouter` from `next-view-transitions` instead'
}
]
],
// False positive due Tailwind CSS v4
'tailwindcss/no-custom-classname': 'off'
}
},
// ⚙️ nextra
Expand All @@ -216,7 +220,9 @@ module.exports = {
},
rules: {
...TAILWIND_CONFIG.rules,
'import/extensions': ['error', 'ignorePackages']
'import/extensions': ['error', 'ignorePackages'],
// False positive due Tailwind CSS v4
'tailwindcss/no-custom-classname': 'off'
}
},
// ⚙️ Docs
Expand All @@ -237,7 +243,10 @@ module.exports = {
'headline',
'content-container',
'feat-darkmode',
'features-container'
'features-container',
// New in TailwindCSS v4
'z-1',
'z-2'
],
cssFiles: [
'docs/app/globals.css',
Expand Down

0 comments on commit aa1f28d

Please sign in to comment.