eslint-plugin-github
Advanced tools
Comparing version 0.2.0 to 0.3.0
@@ -8,2 +8,3 @@ module.exports = { | ||
"github/no-sprockets-directives": 0, | ||
"github/no-unused-disabled-rules": 0 | ||
}, | ||
@@ -10,0 +11,0 @@ "env": { |
@@ -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
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
14450
16
447