Update checked-in dependencies
This commit is contained in:
parent
4fad06f438
commit
40a500c743
4168 changed files with 298222 additions and 374905 deletions
4
node_modules/eslint/lib/rules/no-unneeded-ternary.js
generated
vendored
4
node_modules/eslint/lib/rules/no-unneeded-ternary.js
generated
vendored
|
|
@ -31,7 +31,7 @@ module.exports = {
|
|||
docs: {
|
||||
description: "Disallow ternary operators when simpler alternatives exist",
|
||||
recommended: false,
|
||||
url: "https://eslint.org/docs/rules/no-unneeded-ternary"
|
||||
url: "https://eslint.org/docs/latest/rules/no-unneeded-ternary"
|
||||
},
|
||||
|
||||
schema: [
|
||||
|
|
@ -58,7 +58,7 @@ module.exports = {
|
|||
create(context) {
|
||||
const options = context.options[0] || {};
|
||||
const defaultAssignment = options.defaultAssignment !== false;
|
||||
const sourceCode = context.getSourceCode();
|
||||
const sourceCode = context.sourceCode;
|
||||
|
||||
/**
|
||||
* Test if the node is a boolean literal
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue