@bothrs/eslint-config
v2.3.4
Published
ESLint configuration used at Bothrs.
Downloads
918
Readme
Bothrs: ESLint configuration for VanillaJS projects
A very opinionated ESLint configuration used at Bothrs.
Usage
Install the package as a devDependency.
# NPM
npm i @bothrs/eslint-config -D
# Yarn
yarn add @bothrs/eslint-config -D
Add the package to the extends
-section of your eslint configuration.
Example .eslintrc.js
file:
// .eslintrc.js
module.exports = {
type: "module",
env: {
es6: true,
node: true,
},
extends: [
'@bothrs/eslint-config',
],
}