@ptenn/eslint-config
v0.3.0
Published
## Installation
Downloads
3
Readme
@ptenn/eslint-config
Installation
$ yarn add -D eslint @ptenn/eslint-config
Usage
Extend within .eslintrc.js
module.exports = {
extends: '@ptenn/eslint-config',
};
To extend this config for typescript, install @typescript-eslint/eslint-plugin
and @typescript-eslint/parser
and extend both the default
and typescript
configs.
$ yarn add -D @typescript-eslint/eslint-plugin @typescript-eslint/parser
module.exports = {
extends: [
'@ptenn/eslint-config',
'@ptenn/eslint-config/typescript',
],
};
Publishing
Publish by running npm publish