- The users of this style guide will probably expect that all of the rules that it prescribes will be enforced by eslint. However, this is not the case - there is a secret, non-documented segmentation where some rules are enforced and others are not, because they would be "too noisy on a legacy codebase". An example of a problematic rule like this is covered in issue #2020. I propose that all of
style-linter
Here are 33 public repositories matching this topic...
Since ESLint doesn't let us disable auto-fix for individual rules, and the capitalized-comments rule, while useful, can be annoying in editors when "auto-fix on save" is enabled.
Expected behavior
Disable an annoying clang-tidy warning on linux
Steps to reproduce
- Create a source file containing strncpy()
- Observe that neomake complains
- There is no way to disable this warning globally
In this case I would need to pass --checks=-clang-analyzer-security.insecureAPI.DeprecatedOrUnsafeBufferHandling to clang-tidy
Adding this as args for the c ma
"Attribute itemprop not allowed on element link at this point"
I get this errors for things like that:
<link rel=icon itemprop=logo href=ico.png>
<link rel=canonical itemprop=url href="https://example.org/">
Otherwise the spec says
"Every HTML element may have an itemprop attribute specified"
https://html.spec.whatwg.org/multipage/microdata.html#names:-the-itemprop-attribute
Goo
-
Updated
May 27, 2020 - JavaScript
-
Updated
Feb 27, 2020
-
Updated
May 28, 2020
Describe the issue
After upgrade to new Flutter stable (1.12.13), I got multiple unnecessary_final warnings. But when I remove these, I get similar amount of prefer_final_locals. What should I do? This definitely looks like a bug.
Expected behavior
There should not be any conflicting warnings.
Additional context
Dart 2.7.0, Flutter 1.12.13
Similar to eslint and others, could we have a comment to skip linting of specific blocks of code?
For instance, in eslint I could do this:
/* eslint-disable */
alert('foo');
/* eslint-enable */https://eslint.org/docs/user-guide/configuring#disabling-rules-with-inline-comments
Rubocop also has something similar
# rubocop:disable all
[...]
# rubocop:ena-
Updated
Apr 11, 2018
-
Updated
Apr 17, 2020
It would be great if a rule exists that prevents that the generated code for a specific programming language is invalid because of the use of reserved names for fields.
I had a field named "default" which produces errors when generating code for c/c++
-
Updated
Feb 23, 2020 - Ruby
-
Updated
Jun 28, 2019 - JavaScript
-
Updated
Oct 27, 2019 - JavaScript
-
Updated
Jan 11, 2019 - JavaScript
-
Updated
Jun 3, 2018 - Scala
-
Updated
Feb 21, 2019 - JavaScript
-
Updated
May 15, 2017 - JavaScript
-
Updated
May 26, 2020 - JavaScript
-
Updated
May 26, 2020 - JavaScript
-
Updated
May 2, 2019
-
Updated
Nov 7, 2017 - JavaScript
-
Updated
Mar 14, 2020 - TypeScript
-
Updated
Feb 3, 2020 - Java
-
Updated
Dec 6, 2017 - JavaScript
-
Updated
Feb 19, 2017 - JavaScript
-
Updated
May 25, 2020 - JavaScript
Improve this page
Add a description, image, and links to the style-linter topic page so that developers can more easily learn about it.
Add this topic to your repo
To associate your repository with the style-linter topic, visit your repo's landing page and select "manage topics."