npm.io
0.0.4 • Published 3 years ago

@phaier/eslint-config-typescript

Licence
MIT
Version
0.0.4
Deps
11
Size
5 kB
Vulns
0
Weekly
0

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