0.0.6 • Published 8 months ago

eslint-plugin-prohibit-import v0.0.6

Weekly downloads
-
License
MIT
Repository
github
Last release
8 months ago

ESLint Plugin

Install

npm install --save-dev eslint-plugin-prohibit-import

Configuration

// Configure in the .eslintrc.js file
module.exports = {
  ...,
  plugins: [
    "prohibit-import"
  ],
  rules: {
    "prohibit-import/config": [
      "error", // Tip Status
      {
        exclude: ['src/utils'], // Folders to be excluded from inspection
        pkgs: ['lodash'], // Name of package to be disabled
        fix: true, // Whether to repair automatically, default true
      }
    ]
  }
}
0.0.5

8 months ago

0.0.6

8 months ago

0.0.4

1 year ago

0.0.3

1 year ago

0.0.2

1 year ago

0.0.1

1 year ago