@bjervis/eslint-plugin-redundant-stack
Advanced tools
Comparing version 0.0.4 to 0.0.8
{ | ||
"name": "@bjervis/eslint-plugin-redundant-stack", | ||
"version": "0.0.4", | ||
"version": "0.0.8", | ||
"description": "Warn on <Stack> elements that only have a single child", | ||
@@ -11,3 +11,3 @@ "main": "lib/check-stack-children.js", | ||
"test": "yarn build && node test/check-stack-children.test.js", | ||
"publish": "npm publish --access public" | ||
"semantic-release": "semantic-release" | ||
}, | ||
@@ -18,4 +18,9 @@ "devDependencies": { | ||
"@babel/preset-env": "7.14.7", | ||
"eslint": "7.29.0" | ||
"eslint": "7.29.0", | ||
"semantic-release": "^17.4.4" | ||
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/benjervis/eslint-plugin-redundant-stack.git" | ||
} | ||
} |
@@ -51,3 +51,5 @@ const rules = require('../lib/check-stack-children').rules; | ||
ruleTester.run('redundant-stack', rules['no-redundant-stack'], { | ||
const rule = rules['no-redundant-stack']; | ||
ruleTester.run('redundant-stack', rule, { | ||
valid: [multiChildStackCode, arrayChildStackCode], | ||
@@ -54,0 +56,0 @@ invalid: [ |
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
No repository
Supply chain riskPackage does not have a linked source code repository. Without this field, a package will have no reference to the location of the source code use to generate the package.
Found 1 instance in 1 package
8837
178
0
5