-
Updated
Feb 3, 2021 - JavaScript
linter
Here are 1,466 public repositories matching this topic...
-
Updated
Feb 6, 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
Feb 6, 2021 - Vim script
-
Updated
Feb 7, 2021 - Python
What is the problem you're trying to solve?
Prohibiting the use of a specific selector (btn) in any combination:
.page > .btn
.catalog > .btn
But not in combinations like
.osx > .btn
.macos > .btn
Inside the angular of the application, I am forced to use the global SCSS file with button styles, I want to prohibit the modification of button styles by context.
But
-
Updated
Feb 4, 2021 - Rust
-
Updated
Feb 7, 2021 - 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
)Describe the bug
git diff-tree used by linter on push checks only files from the last commit and regardless of files status, so deleted or renamed files are also checked.
There are now 2 different git commands used for finding the list of broken files (find them here: https://github.com/github/super-linter/blob/v3.14.4/lib/functions/buildFileList.sh#L59-L105). git diff-tree is u
-
Updated
Oct 26, 2020 - TypeScript
-
Updated
Jan 24, 2021 - JavaScript
-
Updated
Feb 6, 2021 - Python
-
Updated
Feb 7, 2021 - Haskell
-
Updated
Feb 7, 2021 - JavaScript
-
Updated
Feb 6, 2021 - Elixir
-
Updated
Feb 6, 2021 - Python
-
Updated
Feb 5, 2021 - Go
-
Updated
Mar 7, 2019 - Go
-
Updated
Feb 7, 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
Feb 7, 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
Feb 7, 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."