Skip to content

Commit

Permalink
Add ESLint next configuration for commons-ui-next with custom rules
Browse files Browse the repository at this point in the history
  • Loading branch information
Kevin Koech authored and Kevin Koech committed Jan 13, 2025
1 parent 9a76ce4 commit ada1996
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions packages/commons-ui-next/eslint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
const eslintConfig = require("eslint-config-commons-ui/next");

module.exports = [
...eslintConfig,
{
rules: {
// commons-ui-next is a reusable package; we don't intend to have pages
"@next/next/no-html-link-for-pages": "off",
},
},
];

0 comments on commit ada1996

Please sign in to comment.