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

eslint-plugin-github

Package Overview
Dependencies
Maintainers
1
Versions
119
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-plugin-github - npm Package Compare versions

Comparing version 0.2.0 to 0.3.0

lib/rules/no-unused-disabled-rules.js

1

.eslintrc.js

@@ -8,2 +8,3 @@ module.exports = {

"github/no-sprockets-directives": 0,
"github/no-unused-disabled-rules": 0
},

@@ -10,0 +11,0 @@ "env": {

2

bin/eslint-ignore-errors.js

@@ -21,5 +21,5 @@ #!/usr/bin/env node

const js = fs.readFileSync(filename, 'utf8')
const comments = Array.from(ruleIds).map(ruleId => `/* eslint ${ruleId}:0 */`).join("\n")
const comments = Array.from(ruleIds).map(ruleId => `/* eslint-disable ${ruleId} */`).join("\n")
fs.writeFileSync(filename, `${comments}\n${js}`, 'utf8')
})
})

@@ -5,2 +5,3 @@ module.exports = {

"github/no-sprockets-directives": 2,
"github/no-unused-disabled-rules": 2,
"indent": [2, 2, {"SwitchCase": 1}],

@@ -7,0 +8,0 @@ "no-implicit-globals": 2

module.exports = {
rules: {
"no-implicit-buggy-globals": require('./rules/no-implicit-buggy-globals'),
"no-sprockets-directives": require('./rules/no-sprockets-directives')
"no-sprockets-directives": require('./rules/no-sprockets-directives'),
"no-unused-disabled-rules": require('./rules/no-unused-disabled-rules')
},

@@ -6,0 +7,0 @@ configs: {

{
"name": "eslint-plugin-github",
"version": "0.2.0",
"version": "0.3.0",
"description": "",

@@ -5,0 +5,0 @@ "main": "lib/index.js",

Sorry, the diff of this file is not supported yet

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