Skip to content
#

linter

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

marcandre
marcandre commented Sep 19, 2020

To load dependencies withing a gem/app, require_relative should always be preferred to require

We should check for any instance of (send nil? require `{:__dir__ :__FILE__}) and raise an offense.

I can't event think of a single instance where require should be called with an interpolated string tbh

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
)
ferrarimarco
ferrarimarco commented Sep 8, 2020

Is your feature request related to a problem? Please describe.
https://github.com/bridgecrewio/checkov is a tool to check infrastructure-as-code descriptors. It scans cloud infrastructure provisioned using Terraform, Cloudformation, Kubernetes, Serverless or ARM Templates and detects security and compliance misconfigurations.

Describe the solution you'd like
Support checkov.

**

scop
scop commented Dec 13, 2020

Would be good to automatically add a .gitignore to the output dir when creating it, e.g. with contents

# Automatically created by pytype
*

This way people wouldn't need to manually add it to their upper level gitignores. Many tools already do this for their similar dirs, mypy and pytest to name a couple.

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.