eslint-plugin-comment-annotations
Advanced tools
Comparing version 0.2.4 to 0.3.0
module.exports = { | ||
rules: { | ||
"comment-annotations/all-caps": 2, | ||
"comment-annotations/single-colon": 2 | ||
} | ||
"comment-annotations/all-caps": 2, | ||
"comment-annotations/single-colon": 2 | ||
}; |
@@ -1,3 +0,1 @@ | ||
"use strict"; | ||
const utils = require("../utils"); | ||
@@ -15,3 +13,3 @@ | ||
create: function(context) { | ||
create(context) { | ||
const sourceCode = context.getSourceCode(); | ||
@@ -18,0 +16,0 @@ |
@@ -1,3 +0,1 @@ | ||
"use strict"; | ||
const utils = require("../utils"); | ||
@@ -17,3 +15,3 @@ | ||
create: function(context) { | ||
create(context) { | ||
const sourceCode = context.getSourceCode(); | ||
@@ -20,0 +18,0 @@ |
@@ -1,3 +0,1 @@ | ||
"use strict"; | ||
const annotations = ["TODO", "HACK", "XXX", "FIXME"]; | ||
@@ -4,0 +2,0 @@ const annotationsRe = /^(\s*)((todo)|(hack)|(xxx)|(fixme))/i; |
{ | ||
"name": "eslint-plugin-comment-annotations", | ||
"version": "0.2.4", | ||
"version": "0.3.0", | ||
"description": "", | ||
@@ -8,3 +8,3 @@ "main": "index.js", | ||
"test": "mocha tests/lib/rules/*", | ||
"lint": "eslint ./ --fix" | ||
"lint": "eslint ./" | ||
}, | ||
@@ -14,6 +14,8 @@ "author": "Roman Gusev <rgusev2@gmail.com>", | ||
"devDependencies": { | ||
"eslint": "^5.10.0", | ||
"eslint-config-prettier": "^3.3.0", | ||
"eslint": "^6.8.0", | ||
"eslint-config-airbnb-base": "^14.0.0", | ||
"eslint-config-prettier": "^6.7.0", | ||
"eslint-plugin-import": "^2.19.1", | ||
"eslint-plugin-prettier": "^3.0.0", | ||
"mocha": "^5.2.0", | ||
"mocha": "^6.2.2", | ||
"prettier": "^1.15.3" | ||
@@ -20,0 +22,0 @@ }, |
# eslint-plugin-comment-annotations | ||
[![npm version](https://img.shields.io/npm/v/eslint-plugin-comment-annotations.svg?style=flat)](https://www.npmjs.com/package/eslint-plugin-comment-annotations) | ||
ESLint rules for JavaScript comment annotations. | ||
@@ -4,0 +6,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
6677
37
7
139