ESLint and Prettier bundle for all things Greenberry.
npm i -D @greenberry/eslint-config-typescript
⚠️ Requires@next/eslint-plugin-next
eslint.config.js
:
import { eslintConfig } from "@greenberry/eslint-config-typescript";
const config = [...eslintConfig];
export default config;
prettier.config.js
:
import { prettierConfig } from "@greenberry/eslint-config-typescript";
const config = {
...prettierConfig,
};
export default config;