question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Add notEqual rule type

See original GitHub issue

Checklist

  • Linting issue

speccy currently has a rule type to see if a property does not match a certain value. As mentioned in https://github.com/wework/speccy/pull/248#issuecomment-454162130 this isn’t present in oas-linter. Would be nice to add it to the linter.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:7 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
pderaaijcommented, Jan 15, 2019

I added #140 to v5prep to support this. Will have a look at the docs later on to see if things are complete and make sense

0reactions
MikeRalphsoncommented, Jan 17, 2019

Successfully published:

  • oas-kit-common@1.0.7
  • oas-linter@3.0.0
  • oas-resolver@2.0.0
  • oas-validator@3.0.0
  • reftools@1.0.5
  • swagger2openapi@5.0.0
Read more comments on GitHub >

github_iconTop Results From Across the Web

How to add a Not Equal To rule in jQuery.validation
You could use a custom method, something like this: jQuery.validator.addMethod("notEqual", function(value, element, param) { return this.optional(element) ...
Read more >
Restrict data input by using validation rules - Microsoft Support
Validations rules help you check data as it is added to your Access desktop ... There are three types of validation rules in...
Read more >
Conditional Formatting Not Equal - Excel & Google Sheets
To highlight cells whose values are not equal to a specific value, ... From the Format Rules section, select Custom Formula and type...
Read more >
Create Validation Rules Unit | Salesforce Trailhead
The <> (Not Equal) operator determines if a value is not equal to another value (if it is either less than or greater...
Read more >
Here's How You Can Use Conditional Formatting If Two Cells ...
Choose the rule type written as “Use a formula to determine which cells to format” from window ... (The sign <> is referred...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found