Files
eslint/README.md
T
2024-06-13 11:54:28 +01:00

484 B

Aneurin's ESLint config

.eslint.config.js

These are just my preferences. Yours are absolutely fine too, but these are mine.

Usage:

  1. Install this package to your project, along with peer dependencies:
npm i -D @annybs/eslint
  1. Add the following to your eslint.config.js file:
const annybs = require('@annybs/eslint')

module.exports = [...annybs]
  1. For bonus points, copy .editorconfig to your project too.