@autotelic/eslint-config-js
v0.4.0
Published
base eslint config for js apps
Downloads
180
Maintainers
Readme
Autotelic - Eslint Config JS
Autotelic's base Eslint configuration for any JavaScript application
Usage
NPM
npm i --save-dev eslint @autotelic/eslint-config-js
Yarn
yarn add --dev eslint @autotelic/eslint-config-js
eslint.config.js
const configJs = require('@autotelic/eslint-config-js')
module.exports = [
configJs,
{
// ...Additional config
}
]
eslint.config.mjs
import configJs from '@autotelic/eslint-config-js'
export default [
configJs,
{
// ...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 configJs = require('@autotelic/eslint-config-js')
module.exports = [
configJs,
{
settings: {
node: {
version: '20.11.1'
}
}
}]
About
@autotelic/eslint-config-js
is comprised with a combination of: