0.4.0 • Published 2 years ago
@autotelic/eslint-config-react v0.4.0
Autotelic - Eslint Config React
Autotelic's base Eslint configuration for any React application
Usage
NPM
npm i --save-dev eslint @autotelic/eslint-config-reactYarn
yarn add --dev eslint @autotelic/eslint-config-reacteslint.config.js
const configReact = require('@autotelic/eslint-config-react')
module.exports = [
configReact,
{
// ...Additional config
}
]eslint.config.mjs
import configReact from '@autotelic/eslint-config-react'
export default [
configReact,
{
// ...Additional config
}
]Configuring Node Version
By default the Node version is set to ^20.x, if a different or a more specific version is preferred it can be configured as follows:
// eslint.config.js
const configReact = require('@autotelic/eslint-config-react')
module.exports = [
configReact,
{
settings: {
node: {
version: '20.11.1'
}
}
}]About
@autotelic/eslint-config-react is comprised with a combination of: