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

Package detail

@sampotts/eslint-config

sampotts12k2.0.3

A simple ESLint configuration

readme

ESLint configurations for JavaScript projects.

Using the package

ES6

.eslintrc:

{
    "extends": "@sampotts/eslint-config/es6"
}

or using TypeScript:

{
    "extends": "@sampotts/eslint-config/es6-ts"
}

React / Preact

.eslintrc:

{
    "extends": "@sampotts/eslint-config/react"
}

or using TypeScript:

{
    "extends": "@sampotts/eslint-config/react-ts"
}