eslint-plugin-no-async-foreach
Advanced tools
Comparing version 0.1.0 to 0.1.1
{ | ||
"name": "eslint-plugin-no-async-foreach", | ||
"version": "0.1.0", | ||
"version": "0.1.1", | ||
"description": "No async forEachs", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
@@ -1,2 +0,2 @@ | ||
# eslint-plugin-no-foreach-async | ||
# eslint-plugin-no-async-foreach | ||
@@ -13,13 +13,13 @@ No async forEach | ||
Next, install `eslint-plugin-no-foreach-async`: | ||
Next, install `eslint-plugin-no-async-foreach`: | ||
``` | ||
$ npm install eslint-plugin-no-foreach-async --save-dev | ||
$ npm install eslint-plugin-no-async-foreach --save-dev | ||
``` | ||
**Note:** If you installed ESLint globally (using the `-g` flag) then you must also install `eslint-plugin-no-foreach-async` globally. | ||
**Note:** If you installed ESLint globally (using the `-g` flag) then you must also install `eslint-plugin-no-async-foreach` globally. | ||
## Usage | ||
Add `no-foreach-async` to the plugins section of your `.eslintrc` configuration file. You can omit the `eslint-plugin-` prefix: | ||
Add `no-async-foreach` to the plugins section of your `.eslintrc` configuration file. You can omit the `eslint-plugin-` prefix: | ||
@@ -29,3 +29,3 @@ ```json | ||
"plugins": [ | ||
"no-foreach-async" | ||
"no-async-foreach" | ||
] | ||
@@ -41,3 +41,3 @@ } | ||
"rules": { | ||
"no-foreach-async/no-foreach-async": 2 | ||
"no-async-foreach/no-async-foreach": 2 | ||
} | ||
@@ -44,0 +44,0 @@ } |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package