@tapsellorg/eslint-plugin

5.5.2 • Public • Published

eslint-plugin

@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:

Package Sidebar

Install

npm i @tapsellorg/eslint-plugin

Weekly Downloads

376

Version

5.5.2

License

ISC

Unpacked Size

20.6 kB

Total Files

8

Last publish

Collaborators

  • mortezanedaei
  • tapsell
  • nacls
  • mrma95
  • vmoh.ir
  • fatteme
  • 4lisalehi
  • behrooz.fard
  • mahdi-malv
  • sampourmoradi