0.0.1 • Published 3 years ago

@phaier/eslint-typescript-config v0.0.1

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

eslint-typescript-config

ESLint configuration for a TypeScript project.

Setup

Install package from npm

yarn add @phaier/eslint-typescript-config --dev

Create a .eslintrc.js file in the project folder with the following contents.

module.exports = {
  root: true,
  extends: ['@phaier/eslint-typescript-config'],
  parserOptions: {
    project: './tsconfig.json',
  },

  ignorePatterns: ['node_modules/'],
};

License

MIT © Phaier