@modusoperandi/eslint-config
v1.6.1
Published
Module containing the lint configuring for MO
Downloads
370
Readme
Modus Operandi eslint-config
Description
This package was built to ensure consistant linting and better coding standards across all MO apps.
Requirements
Before you can start using the eslint-config your application must have the following dev-dependecies associated with your apps version of Angular:
eslint
@angular-devkit/build-angular
@angular-eslint/builder
@angular-eslint/eslint-plugin
@angular-eslint/eslint-plugin-template
@angular-eslint/schematics
@angular-eslint/template-parser
Installation & Setup
- Run
npm i -D @modusoperandi/eslint-config
to install the package as a dev dependency. - In the root of your project create a new file named
.eslintrc.js
. - In your new file add the following code: const eslintConfig = require('@modusoperandi/eslint-config'); module.exports = eslintConfig;
- Run
npm run lint
to ensure functionality.