@funboxteam/eslint-plugin-no-only-tests
Advanced tools
Comparing version 4.0.1 to 5.0.0
@@ -6,5 +6,5 @@ module.exports = { | ||
category: 'Best Practices', | ||
recommended: true | ||
recommended: true, | ||
}, | ||
schema: [] | ||
schema: [], | ||
}, | ||
@@ -18,12 +18,12 @@ | ||
if (callee.type === 'MemberExpression') { | ||
if (['describe','it'].includes(callee.object.name) && callee.property.name === 'only') { | ||
if (['describe', 'it'].includes(callee.object.name) && callee.property.name === 'only') { | ||
context.report({ | ||
node, | ||
message: `Unexpected ${callee.object.name}.only` | ||
message: `Unexpected ${callee.object.name}.only`, | ||
}); | ||
} | ||
} | ||
} | ||
} | ||
} | ||
}, | ||
}; | ||
}, | ||
}; |
{ | ||
"name": "@funboxteam/eslint-plugin-no-only-tests", | ||
"version": "4.0.1", | ||
"version": "5.0.0", | ||
"description": "Disallow the use of describe.only() and it.only()", | ||
@@ -21,8 +21,11 @@ "keywords": [ | ||
"scripts": { | ||
"lint": "eslint --cache --ext .js ./", | ||
"prepublishOnly": "if [ -z \"$CI\" ]; then lawyer; fi", | ||
"test": "mocha tests --recursive" | ||
}, | ||
"devDependencies": { | ||
"eslint": "5.16.0", | ||
"mocha": "8.4.0" | ||
"@funboxteam/eslint-config": "7.1.0", | ||
"eslint": "7.32.0", | ||
"mocha": "9.2.2" | ||
} | ||
} |
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
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
6259
3
6
1