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.