Detailed guide for configuring ESLint with JS Style Kit
eslint.config.js
file in your project root:
eslint.config.mjs
file instead:
package.json
:
eslintConfig()
function accepts a configuration object with the following options:
rules
option:
node_modules
and dist
directories. You can add additional paths to ignore:
.eslintrc.js
or other formats), you’ll need to adapt to the new flat config format. Here are some key differences:
eslint.config.js
or eslint.config.mjs