My ESLint config

Aneurin Barker Snook 345e8ce8a3 initial commit 11 maanden geleden
.editorconfig 345e8ce8a3 initial commit 11 maanden geleden
.eslintignore 345e8ce8a3 initial commit 11 maanden geleden
.gitignore 345e8ce8a3 initial commit 11 maanden geleden
LICENSE.md 345e8ce8a3 initial commit 11 maanden geleden
README.md 345e8ce8a3 initial commit 11 maanden geleden
eslint.config.js 345e8ce8a3 initial commit 11 maanden geleden
package.json 345e8ce8a3 initial commit 11 maanden geleden

README.md

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
    
  2. Add the following to your eslint.config.js file:

    const annybs = require('@annybs/eslint')
    
    module.exports = [...annybs]
    
  3. For bonus points, copy .editorconfig to your project too.