-
Updated
Jan 26, 2021 - JavaScript
linter
Here are 1,454 public repositories matching this topic...
-
Updated
Jan 28, 2021 - Haskell
I've recently switched to Webstorm and was impressed with a lot of the rules they offer with code inspection. I haven't seen some of these in ESLint.
Unnecessarycontinueas the last statement in a loop- Simplify statement or boolean expression
- Expression statement that is not assignment or call
- Single character regex alternations can be a charset
- Unused shadowed bindings
The cop Style/EvalWithLocation could autocorrect:
example.class_eval <<~RUBY
etc...
RUBY
# to
example.class_eval <<~RUBY, __FILE__, __LINE__ + 1
etc...
RUBY-
Updated
Jan 27, 2021 - Vim script
-
Updated
Jan 27, 2021 - Python
Clearly describe the bug
::-moz-focus-inner is treated as a pseudo-class, not a pseudo-element, and so can cause false positives in no-descending-specificity.
Which rule, if any, is the bug related to?
no-descending-specificity
What code is needed to reproduce the bug?
a::-moz-focus-inner {}
a -
Updated
Jan 27, 2021 - Rust
-
Updated
Dec 27, 2020 - JavaScript
Config:
linters:
disable-all: true
enable:
- goimports
- gci
fast: false
linters-settings:
goimports:
local-prefixes: istio.io/Input:
package main
import (
"fmt"
"istio.io/istio/pkg/test/framework/resource"
"os"
"istio.io/istio/pkg/test/framework/resource"
)
var (
_ = resource.Cluster
_ = fmt.Println
_ = os.Stdout
)-
Updated
Jan 27, 2021 - Shell
-
Updated
Oct 26, 2020 - TypeScript
-
Updated
Jan 24, 2021 - JavaScript
-
Updated
Jan 27, 2021 - Python
-
Updated
Jan 28, 2021 - Haskell
-
Updated
Jan 24, 2021 - JavaScript
-
Updated
Jan 19, 2021 - Elixir
-
Updated
Jan 27, 2021 - Python
-
Updated
Jan 27, 2021 - Go
-
Updated
Mar 7, 2019 - Go
-
Updated
Jan 28, 2021 - Kotlin
Affects PMD Version: 6.30.0-SNAPSHOT
Rule:UseTryWithResources
Description:
Code Sample demonstrating the issue:
https://chunk.io/pmd/fc7db65b2c6a46eca4c9a0c3012482e2/diff/checkstyle/index.html#A360
import j-
Updated
Jan 27, 2021 - Python
Python 3.7 added str.isascii to the standard library, but pytype doesn't seem to know about it yet.
For example, checking the following code:
def main():
r
-
Updated
Jan 22, 2021 - TypeScript
Describe the bug
In the docs found here:
https://bandit.readthedocs.io/en/latest/plugins/index.html#complete-test-plugin-listing
B109 and B111 show a description instead of a plugin name. This looks inconsistent since all the other plugin names are listed. I believe this is a result of a recent change to remove these deprecated plugins.
To Reproduce
- Navigate to https://bandit
-
Updated
Jan 28, 2021 - Go
Improve this page
Add a description, image, and links to the linter topic page so that developers can more easily learn about it.
Add this topic to your repo
To associate your repository with the linter topic, visit your repo's landing page and select "manage topics."