0.0.4 • Published 9 months ago

@phaier/eslint-config-typescript v0.0.4

Weekly downloads
-
License
MIT
Repository
github
Last release
9 months ago

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