UNPKG

eslint-config-impetus-ianalyzer

Version:

Impetus's ESLint config providing styleguide for essential, recommended and Sonar rules profile for Angular, React, Vue, TypeScript and JS projects.

28 lines (14 loc) 1.26 kB
# eslint-config-impetus-ianalyzer [![npm version](https://badge.fury.io/js/eslint-config-impetus-ianalyzer.svg)](https://badge.fury.io/js/eslint-config-impetus-ianalyzer) Impetus's ESLint extensible shared config, providing styleguide for essential, recommended and Sonar rules profile for Angular, React, Vue, TypeScript and JS projects. ## Usage We auto import this ESLint configurations for your usage during installation of ianalyzer. ### eslint-config-impetus-ianalyzer Our default export contains most of our ESLint rules, and ECMAScript 6+. It requires `eslint`, `eslint-plugin-sonarjs`, `eslint-plugin-sonar`, `eslint-plugin-html` and `eslint-plugin-import`. Note that it does not enable our essential, advance and Sonar rules profiles. To enable those, see the [`https://github.com/ux-practice/iANALYZER.git`]. 1. Install the correct versions of each package, which are listed by the command: ```sh npm info "eslint-config-impetus-ianalyzer@latest" peerDependencies ``` 2. Add `"extends": "eslint-config-impetus-ianalyzer"` to your `.eslintrc` ## Roadmap We are planning to add more rules under different profiles i.e. Essential, Recommended and Sonar profiles. Keep check the updated version of this config.