1
0

My ESLint config

Aneurin Barker Snook 345e8ce8a3 initial commit 11 сар өмнө
.editorconfig 345e8ce8a3 initial commit 11 сар өмнө
.eslintignore 345e8ce8a3 initial commit 11 сар өмнө
.gitignore 345e8ce8a3 initial commit 11 сар өмнө
LICENSE.md 345e8ce8a3 initial commit 11 сар өмнө
README.md 345e8ce8a3 initial commit 11 сар өмнө
eslint.config.js 345e8ce8a3 initial commit 11 сар өмнө
package.json 345e8ce8a3 initial commit 11 сар өмнө

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.