@kamilmielnik/eslint-config

0.0.11 • Public • Published

@kamilmielnik/eslint-config

Setup

  1. Install the package
npm install @kamilmielnik/eslint-config --save-dev
  1. Add @kamilmielnik/eslint-config to extends array in ESLint configuration file.
/* .eslintrc.js */
module.exports = {
  /* ... */
  extends: ['@kamilmielnik/eslint-config'],
};
  1. Make sure your tsconfig.json provides Type Information - your .eslintrc.js should enable parserOptions.project and specify parserOptions.tsconfigRootDir:
/* .eslintrc.js */
module.exports = {
  /* ... */
  parserOptions: {
    project: true,
    tsconfigRootDir: __dirname,
  },
};

Package Sidebar

Install

npm i @kamilmielnik/eslint-config

Weekly Downloads

5

Version

0.0.11

License

MIT

Unpacked Size

52.2 kB

Total Files

8

Last publish

Collaborators

  • kamilmielnik