Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

@ctrl/eslint-config

scttcper714MIT4.0.14

eslint typescript config

readme

@ctrl/eslint-config

Not really a shareable eslint config, more of a set of rules and eslint all together. Installs all required eslint dependencies. This package was created to unify my eslint rules and reduce churn from all the eslint packages in package.json. Includes prettier and most of xo-typescript.

Extends from xo and xo-typescript and disables a few rules. Config uses 2 space indentation.

npm i @ctrl/eslint-config -D

.eslintrc

{
  "root": true,
  "env": {
    "node": true,
    "jest": true
  },
  "extends": ["@ctrl/eslint-config"]
}