Detalhes do pacote

@sampotts/eslint-config

sampotts13k2.0.3

A simple ESLint configuration

readme (leia-me)

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"
}