@bausmeier/eslint-config
v0.5.0
Published
## Usage
Downloads
20
Readme
ESLint Config
Usage
Install the dependencies:
yarn add -D eslint @bausmeier/eslint-config
Add a file named .eslintrc.cjs
with the following content:
/* eslint-env node */
module.exports = exports = {
root: true,
extends: ['@bausmeier/eslint-config'],
overrides: [
{
files: '**/*.ts?(x)',
extends: ['@bausmeier/eslint-config/typescript'],
parserOptions: {
project: true,
tsconfigRootDir: __dirname,
},
},
],
}