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.

id-length exceptions pattern

See original GitHub issue

What rule do you want to change? Property exceptions for rule id-length

Does this change cause the rule to produce more or fewer warnings? Fewer

How will the change be implemented? (New option, new default behavior, etc.)? Property value support

Please provide some example code that this change will affect:

{
  id-length: {
    min: 3,
    max: 16,
    exceptions: ["^BEFORE_"]
  }
}

What does the rule currently do for this code? It makes the exception only for identifiers named exactly ^BEFORE_

What will the rule do after it’s changed? It will make the exception for all identifiers matching the pattern. In the example above, it will make the exception for every identifier starting with BEFORE

Are you willing to submit a pull request to implement this change? Not for the moment

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:4
  • Comments:9 (9 by maintainers)

github_iconTop GitHub Comments

2reactions
sodaMeloncommented, Aug 14, 2020

hi, It seems to have stopped last month. Can i continue this?

1reaction
aladdin-addcommented, Aug 14, 2020

@sodaMelon sure, please feel free to pick up!

Read more comments on GitHub >

github_iconTop Results From Across the Web

id-length - ESLint - Pluggable JavaScript Linter
"exceptions" allows an array of specified identifier names; "exceptionPatterns" array of strings representing regular expression patterns, allows identifiers ...
Read more >
SQL error messages and exceptions - Oracle Help Center
Null pattern or searchStr passed in to a BLOB or CLOB position method. XJ073, The data in this BLOB or CLOB is no...
Read more >
XML Schema Part 2: Datatypes Second Edition - W3C
Hence, any ·pattern· specified when a new datatype is ·derived· from ... the datatypes defined in this specification with three exceptions.
Read more >
Exception Patterns - Wiki
Known wiki pages dealing with exceptions or error handling in general include: Defining Exception Types: NameTheProblemNotTheThrower · ExceptionPerContext.
Read more >
Web service error codes (Microsoft Dataverse) - Power Apps
Message: Cannot update recurrence pattern for a job that is not ... Message: Billing error code [{0}] was thrown with exception {1}.
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