-
Updated
Mar 24, 2021 - JavaScript
linter
Here are 1,488 public repositories matching this topic...
-
Updated
Mar 21, 2021 - Haskell
Recently, we created a new lint category called a11y. This new category is meant to be generic and work for JSX and HTML at the same time.
At the moment, we ported only two rules and we should to the same for most of the a11y-jsx we currently have
Is your feature request related to a problem? Please describe.
I'm kicking the tires on changing our Gemfile to gems.rb. However, we have many internal gems within our monorepo and it just occurred to me that it would be cool to have a configurable cop that enforces one or the other.
Describe the solution you'd like
A cop that checks to make sure you have a Gemfile or a `gems.
-
Updated
Mar 26, 2021 - Vim script
-
Updated
Mar 28, 2021 - Python
Clearly describe the bug
The rulelength-zero-no-unitis applying fixes inside level 4 math functions.
This test exercises exactly what it shouldn't happen:
Why?
It converts this:
padding: calc(var(--foo, 0px) + 10px);Into this:
-
Updated
Mar 28, 2021 - Rust
-
Updated
Mar 23, 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
Mar 25, 2021 - TypeScript
-
Updated
Mar 23, 2021 - Python
-
Updated
Mar 15, 2021 - JavaScript
-
Updated
Mar 28, 2021 - Haskell
-
Updated
Mar 28, 2021 - JavaScript
-
Updated
Mar 23, 2021 - Elixir
-
Updated
Mar 25, 2021 - Python
-
Updated
Mar 20, 2021 - Go
-
Updated
Mar 7, 2019 - Go
-
Updated
Mar 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
Mar 28, 2021 - Python
-
Updated
Mar 22, 2021 - TypeScript
e.g.
# map.py
def func(a: int) -> float:
return float(a)
map(func, ['str'])$ pytype map.py
Computing dependencies
Analyzing 1 sources with 0 local dependencies
ninja: Entering directory `/[redacted]/.pytype'
ninja: no work to do.
Success: no errors foundwhile
$ mypy map.py
map.py:5: error: Argument 1 to "map" has incompatible type "Ca-
Updated
Mar 26, 2021 - Go
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
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."

