eslint-config

Personal usage, extended from antfu/eslint-config

MIT License

Downloads
225
Stars
0
Committers
1

@2nthony/eslint-config

Extended from @antfu/eslint-config, go to see details.

Legacy Version

Usage

Install

npm i -D eslint @2nthony/eslint-config

config file

// eslint.config.js
import { _2nthony } from '@2nthony/eslint-config'

export default _2nthony()

VSCode

{
  "eslint.experimental.useFlatConfig": true
}

Rules(diffs to antfu)

// error
if (foo) bar()
if (foo)
  bar()

// correct
if (foo) {
  bar()
}

Sponsors

License

MIT © 2nthony

Package Rankings
Top 12.02% on Npmjs.org
Badges
Extracted from project README
version downloads sponsors