@iqb/eslint-config

2.2.0 • Public • Published

npm License: MIT

eslint-config

ESLint rules for typescript and javascript development, with rules agreed by IQB developers.

Installation

Run on command line:

npm install @iqb/eslint-config --save-dev

Put the following lines in your package.json, depending on whether you use Typescript or Javascript.

Typescript

"eslintConfig": {
  "extends": "@iqb/eslint-config"
},

Javascript

"eslintConfig": {
  "extends": "@iqb/eslint-config/javascript"
},

Troubleshooting

In case you are not using Solution Style tsconfig.json files (older Angular versions do this; when you have a tsconfig.base.json in your project root, you are using solution style), add parserOptions/project to your package.json and make sure the path points to your main tsconfig.json file.

"eslintConfig": {
  "extends": "@iqb/eslint-config",
  "parserOptions": {
    "project": "./tsconfig.json"
  }
},

Readme

Keywords

Package Sidebar

Install

npm i @iqb/eslint-config

Weekly Downloads

132

Version

2.2.0

License

MIT

Unpacked Size

5.53 kB

Total Files

5

Last publish

Collaborators

  • nanoyan
  • jurei733
  • jojohoch
  • paflov
  • mechtelm
  • rhenck-iqb