@phaier/eslint-config-typescript
v0.0.4
Published
ESLint configuration for a TypeScript project.
Downloads
15
Readme
eslint-config-typescript
ESLint configuration for a TypeScript project.
Setup
Install package from npm
npm install @phaier/eslint-config-typescript --save--dev
Create a .eslintrc.js
file in the project folder with the following contents.
module.exports = {
root: true,
extends: ['@phaier/eslint-config-typescript'],
parserOptions: {
project: './tsconfig.json',
},
ignorePatterns: ['node_modules/'],
};
License
MIT © Phaier