eslint-plugin-comment-annotations
Advanced tools
Comparing version 0.3.0 to 0.4.0
module.exports = { | ||
rules: { | ||
"all-caps": require("./lib/rules/all-caps"), | ||
"single-colon": require("./lib/rules/single-colon") | ||
"single-colon": require("./lib/rules/single-colon"), | ||
"no-extra-space": require("./lib/rules/no-extra-space") | ||
}, | ||
@@ -6,0 +7,0 @@ configs: { |
module.exports = { | ||
"comment-annotations/all-caps": 2, | ||
"comment-annotations/single-colon": 2 | ||
"comment-annotations/single-colon": 2, | ||
"comment-annotations/no-extra-space": 2 | ||
}; |
@@ -24,3 +24,3 @@ const utils = require("../utils"); | ||
// comment do not contain any annotations | ||
// comment does not contain any annotations | ||
if (!match) { | ||
@@ -27,0 +27,0 @@ return; |
@@ -26,3 +26,3 @@ const utils = require("../utils"); | ||
// comment do not contain any annotations | ||
// comment does not contain any annotations | ||
if (!match) { | ||
@@ -29,0 +29,0 @@ return; |
{ | ||
"name": "eslint-plugin-comment-annotations", | ||
"version": "0.3.0", | ||
"version": "0.4.0", | ||
"description": "", | ||
@@ -13,3 +13,3 @@ "main": "index.js", | ||
"devDependencies": { | ||
"eslint": "^6.8.0", | ||
"eslint": "^7.2.0", | ||
"eslint-config-airbnb-base": "^14.0.0", | ||
@@ -19,3 +19,3 @@ "eslint-config-prettier": "^6.7.0", | ||
"eslint-plugin-prettier": "^3.0.0", | ||
"mocha": "^6.2.2", | ||
"mocha": "^8.0.1", | ||
"prettier": "^1.15.3" | ||
@@ -22,0 +22,0 @@ }, |
@@ -37,1 +37,15 @@ # eslint-plugin-comment-annotations | ||
``` | ||
- `no-extra-space` disables extra space in comment annotations (TODO and FIXME) | ||
```js | ||
// These comments will fail | ||
// to do | ||
// fix me | ||
// fix me | ||
// These comments will not fail | ||
// todo | ||
// fixme | ||
// fixme | ||
``` |
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
8360
9
188
51