My ESLint config

Aneurin Barker Snook 345e8ce8a3 initial commit 11 tháng trước cách đây
.editorconfig 345e8ce8a3 initial commit 11 tháng trước cách đây
.eslintignore 345e8ce8a3 initial commit 11 tháng trước cách đây
.gitignore 345e8ce8a3 initial commit 11 tháng trước cách đây
LICENSE.md 345e8ce8a3 initial commit 11 tháng trước cách đây
README.md 345e8ce8a3 initial commit 11 tháng trước cách đây
eslint.config.js 345e8ce8a3 initial commit 11 tháng trước cách đây
package.json 345e8ce8a3 initial commit 11 tháng trước cách đây

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.