eslint-config-dave

3.1.0 • Public • Published

eslint-config-dave

Status: Stable NPM Version

Extremely thorough, but opinionated ESLint configuration used by myself. It has a goal of being a one-size-fits-all tool, which has a downside of installing a handful of packages that you may not expect (such as the svelte compiler for linting svelte code). Does not cover formatting, which is instead handled by my prettier config.

To use, install eslint-config-dave and write your one-line .eslintrc

{ "extends": "dave" }

What's configured out of the box:

  • TypeScript (if a .tsconfig exists)
  • Code in Svelte files
  • Code in Markdown files

What I would like to add

  • Svelte markup
  • React
  • Vue
  • Markdown content itself

Package Sidebar

Install

npm i eslint-config-dave

Weekly Downloads

1

Version

3.1.0

License

MIT

Unpacked Size

25.8 kB

Total Files

8

Last publish

Collaborators

  • davecaruso