The Wayback Machine - https://web.archive.org./web/20210316223931/https://github.com/topics/linter
Skip to content
#

linter

Here are 1,489 public repositories matching this topic...

tools
stylelint
abea
abea commented on Feb 9, 2021

Clearly describe the bug

declaration-property-unit-allowed-list trips on SCSS function contents. Specifically color functions, which it should ignore.

Which rule, if any, is the bug related to?

declaration-property-unit-allowed-list

What code is needed to reproduce the bug?

$input-border: #639;

button {
  border: 1px solid lighten($input-border, 20%);
}
golangci-lint
howardjohn
howardjohn commented on Nov 3, 2020

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
)
dec5e
dec5e commented on Jan 28, 2021

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

vuryleo
vuryleo commented on Nov 8, 2019

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
ericwb
ericwb commented on Aug 14, 2018

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

  1. 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.

Curate this topic

Add this topic to your repo

To associate your repository with the linter topic, visit your repo's landing page and select "manage topics."

Learn more