-
Updated
Aug 15, 2021 - JavaScript
linter
Here are 1,577 public repositories matching this topic...
-
Updated
Aug 14, 2021 - Haskell
-
Updated
Aug 16, 2021 - JavaScript
-
Updated
Aug 16, 2021 - Python
-
Updated
Aug 14, 2021 - Vim script
-
Updated
Aug 13, 2021 - JavaScript
Fix false positives for nested property declaration that contains `tx` or `qx` in unit-no-unknown
Clearly describe the bug
There are false positives for unknown unite when you use tx
or qx
Which rule, if any, is the bug related to?
unit-no-unknown
What code is needed to reproduce the bug?
e.g.
// Font Sizes
$font-sizes: (
2x: $font-size-base * 2,
2qx: $font-size-base * 2.25,
-
Updated
Aug 16, 2021 - Rust
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
Aug 10, 2021 - Python
-
Updated
Aug 15, 2021 - JavaScript
-
Updated
Mar 25, 2021 - TypeScript
-
Updated
Aug 12, 2021 - Haskell
Many repositories need to fix, so please help if you like.
If you could help, it would be helpful if you could comment before starting the work not to overlapping.
Fix example
Run exit command after lint.
echo '::group:: Running golangci-lint with reviewdog 🐶 ...'
go
-
Updated
Aug 16, 2021 - Python
-
Updated
Aug 16, 2021 - Go
-
Updated
Jun 13, 2021 - JavaScript
-
Updated
Aug 14, 2021 - Elixir
-
Updated
Aug 16, 2021 - Kotlin
-
Updated
Mar 7, 2019 - Go
-
Updated
Jul 19, 2021 - TypeScript
Affects PMD Version: 6.30.0-SNAPSHOT
Rule: UselessOverridingMethod
Description:
Note: There seems to be a difference when having the class in the auxclasspath or not (typeresolution).
Code Sample demonstrating the issue:
-
Updated
Aug 16, 2021 - Python
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
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 found
while
$ mypy map.py
map.py:5: error: Argument 1 to "map" has incompatible type "Ca
-
Updated
Oct 27, 2018 - 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."
Is your feature request related to a problem? Please describe.
I'm kicking the tires on changing our
Gemfile
togems.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.