Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

eslint-plugin-comment-annotations

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-plugin-comment-annotations - npm Package Compare versions

Comparing version 0.2.4 to 0.3.0

6

lib/configs/recommended.js
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 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc