0.2.2 • Published 2 months ago

eslint-plugin-post-deploy-runner v0.2.2

Weekly downloads
-
License
ISC
Repository
-
Last release
2 months ago

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-managerDisallow directly typeorm/mongoose DML actions. Enforce DatabaseManager usage
0.0.0

2 months ago

0.2.1

2 months ago

0.2.0

2 months ago

0.2.2

2 months ago

1.0.2

3 months ago

1.0.1

3 months ago

1.0.0

3 months ago