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

linter

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

tools
jer3m01
jer3m01 commented Aug 10, 2020

List of all missing tests that need to be done.

  • ast-utils/removeLoc.ts
  • codec-js-regexp/index.ts
  • codec-source-map/ArraySet.ts @nt591
  • codec-source-map/base64.ts
  • codec-source-map/MappingList.ts
  • codec-source-map/SourceMapConsumer.ts
  • codec-source-map/SourceMapConsumerCollection.ts
  • codec-source-map/SourceMapGenerator.ts
  • js-ast-utils/ass
joe-p
joe-p commented Nov 1, 2020

Expected Behavior

When Rubocop encounters '"' + "foo" + '"' it should be autocorrected to '"foo"'

Actual Behavior

When Rubocop 1.1.0 encounters '"' + "foo" + '"' it currently autocorrects to ""foo"" thus leading to a syntax error:

test.rb:3:3: C: [Corrected] Style/StringConcatenation: Prefer string interpolation to string concatenation.
p '"' + "foo" + '"'
  ^^^^^^^
stylelint
golangci-lint
howardjohn
howardjohn commented 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
)
IlanCosman
IlanCosman commented Sep 9, 2020

Is your feature request related to a problem? Please describe.

Following the guidance of github, many developers are moving to main as their default branch. Saving developers from the very small hindrance of using DEFAULT_BRANCH: main would contribute to smoothing the transition.

Describe the solution you'd like

The default branch should be main. If it does not exist, use `m

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

You can’t perform that action at this time.