@tapsellorg/eslint-plugin
v6.0.2
Published
An Eslint plugin recommended by Tapsell.
Downloads
656
Readme
@tapsellorg/eslint-plugin
Tapsell custom eslint plugin
Installation
npm i -D @tapsellorg/eslint-plugin eslint
Usage
In your ESLint config file .eslintrc
:
module.exports = {
extends: 'plugin:@tapsellorg/angular',
root: true,
};
Note: This configuration is for angular workspaces (monorepo). If you have a single Angular project, use this config:
module.exports = {
extends: 'plugin:@tapsellorg/angular',
root: true,
overrides: [
{
files: ['*.ts'],
parserOptions: {
project: ['tsconfig.json'],
createDefaultProgram: false,
},
},
],
};
Run your eslint command. If you get any The file does not match your project config, The file must be included in at least one of the projects provided
errors, read these docs: