1.1.6 • Published 3 years ago
@foretag/eslint-config v1.1.6
Foretag ESLint Config
The official eslint configuration for Foretag internal and public projects.
Install
NPM
npm install @foretag/eslint-config --save-dev
Yarn
yarn add -D @foretag/eslint-config
Usage
.eslintrc
{
"extends": "@foretag"
}
With suppported tooling
{
"extends": [
// React
"@foretag/eslint-config/react"
// React Native
"@foretag/eslint-config/react-native",
// GraphQL
"@foretag/eslint-config/graphql",
// Jest
"@foretag/eslint-config/jest",
// Cypress
"@foretag/eslint-config/cypress",
]
}
Supported languages and tools
- JavaScript
- TypeScript
- GraphQL
- React and React Native
- Cypress
- Jest