eslint-plugin-post-deploy-runner

0.2.2 • Public • Published

eslint-plugin-post-deploy-runner

Disallow directly typeorm/mongoose DML actions. Enforce DatabaseManager usage

Installation

You'll first need to install ESLint:

npm i eslint --save-dev

Next, install eslint-plugin-post-deploy-runner:

npm install eslint-plugin-post-deploy-runner --save-dev

Usage

Add post-deploy-runner to the plugins section of your .eslintrc configuration file. You can omit the eslint-plugin- prefix:

{
	"plugins": ["post-deploy-runner"]
}

Then configure the rules you want to use under the rules section.

{
	"rules": {
		"post-deploy-runner/enforce-database-manager": ["error"]
	}
}

Configurations

TODO: Run eslint-doc-generator to generate the configs list (or delete this section if no configs are offered).

Rules

Name                     Description
enforce-database-manager Disallow directly typeorm/mongoose DML actions. Enforce DatabaseManager usage

Package Sidebar

Install

npm i eslint-plugin-post-deploy-runner

Weekly Downloads

1

Version

0.2.2

License

ISC

Unpacked Size

6.3 kB

Total Files

7

Last publish

Collaborators

  • post-deploy-runner