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.

Is there a way to disable camelcase within function params?

See original GitHub issue

I currently can’t change the backend to allow the params to use camelcase and I’d rather not disable the warning about camelcase for everything.

Is there a way to disable the check just for the allowed_qualities and preferred_qualities?

$.get('config/general/saveAddShowDefaults', {
    allowed_qualities: anyQualArray.join(','),
    preferred_qualities: bestQualArray.join(',')
});

Issue Analytics

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

github_iconTop GitHub Comments

1reaction
Qix-commented, Feb 23, 2017
0reactions
OmgImAlexiscommented, Feb 23, 2017

@sindresorhus that main reason I didn’t want to use inline ignores is we use ajax and get requests quite a bit meaning most files contain 10 - 20 ignore lines just for those. If we could disable it just for certain functions like $.get that’d be a lot easier.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Disable check of camel case rule in eslint - Stack Overflow
I am trying to disable them and address them one at a time. The code below shows that I can disable them all...
Read more >
camelcase - ESLint - Pluggable JavaScript Linter
A pluggable and configurable linter tool for identifying and reporting on patterns in JavaScript. Maintain your code quality with ease.
Read more >
[policy, no patch] Stop disallowing camelCase for local ...
Allow both snake_case and camelCase to be used as variable names. For consistency, allow that for global variables, local variables in functions ......
Read more >
Naming Conventions · Styleguide JavaScript
Use camelCase when naming objects, functions, and instances. ESLint: camelcase. Examples. ⇣ Incorrect code for this rule: const SNOwFlaakesssss = {}; const ...
Read more >
JavaScript Algorithm: Convert String to Camel Case | by Erica N
The goal of the function is to remove all dashes and/or underscores and the first word that follows that underscore or dash should...
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