@mrozio/eslint-config
v1.0.4
Published
my shareable config for eslint
Downloads
12
Readme
@mrozio/eslint-config
ESLint config for my projects and stuff.
Install
npm i eslint @mrozio/eslint-config --save-dev
Usage
.eslintrc.js
module.exports = {
extends: '@mrozio/eslint-config'
};
With Typescript
- make sure you have typescript installed
npm i typescript --save-dev
.eslintrc.js
module.exports = {
extends: '@mrozio/eslint-config/typescript',
parserOptions: {
// @see https://github.com/typescript-eslint/typescript-eslint/issues/890
project: './tsconfig.json'
}
};
License
MIT