UNPKG

@roots/sage

Version:

@roots/sage preset for @roots/bud

19 lines (14 loc) 452 B
--- title: Using with eslint --- Install the [@roots/bud-eslint](https://bud.js.org/extensions/bud-eslint) and the [@roots/eslint-config] preset package: ```sh npm2yarn yarn add @roots/bud-eslint @roots/eslint-config --dev ``` Then, in your theme directory create a `eslint.config.cjs` file and include the Sage default eslint config: ```ts title="eslint.config.cjs" module.exports = { root: true, extends: ['@roots/eslint-config/sage'], } ```