A highly opinionated, modern, and elegant ESLint configuration crafted by cravingmaker. ESM only. Best to be used with Prettier for the code formatter.
Install the configuration along with ESLint and Prettier using your favorite package manager:
npm install --save-dev eslint prettier @cravingmaker/eslint-config @cravingmaker/prettier-configyarn add --dev eslint prettier @cravingmaker/eslint-config @cravingmaker/prettier-configpnpm add -D eslint prettier @cravingmaker/eslint-config @cravingmaker/prettier-configbun add -D eslint prettier @cravingmaker/eslint-config @cravingmaker/prettier-configCreate or update your eslint.config.js file:
import cravingmakerConfig from '@cravingmaker/eslint-config';
export default [
...cravingmakerConfig,
// Add your own overrides here
];MIT © cravingmaker