Skip to content
#

lint

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

stylelint
jdufresne
jdufresne commented Mar 28, 2022

What steps are needed to reproduce the bug?

test.scss

$frames: ("one", "two", "three");

@each $name in $frames {
  @keyframes frame-#{$name} {
    /* CSS ... */
  }
}
$ npx stylelint test.scss

test.scss
 4:14  ✖  Expected keyframe name to be kebab-case  keyframes-name-pattern

The name is kebab case, but due to the string interpolation, the line is f

status: ready to implement type: bug syntax: scss good first issue
reviewdog
TWiStErRob
TWiStErRob commented Apr 23, 2022

Expected Behavior of the rule

UnnecessaryAbstractClass should have a concise description like other rules

Context

I just updated Detekt 1.19.0 to 1.20.0 and got this failure:
https://github.com/TWiStErRob/net.twisterrob.cinema/security/code-scanning/227

The message is just plain weird to be this long:
![image](https://user-images.githubusercontent.com/2906988/164910306-4b4478c4-0

help wanted rules good first issue
ahangarha
ahangarha commented Mar 17, 2022

🐞 Bug report

Description

Today I received a question regarding failure of hint to check the html file. This was the error:

Run npx hint .
AnalyzerError: Cannot read property 'getLocation' of undefined
    at Analyzer.analyze (/home/runner/work/Awesome-Books/Awesome-Books/node_modules/hint/dist/src/lib/analyzer.js:151:23)
    at runNextTicks (internal/process/task_queues.js:62
cfn_nag
bquorning
bquorning commented Mar 23, 2021

I'm seeing double/instance_double/class_double/object_double/spy etc. being called with sometimes a string, sometimes a symbol (perhaps because the rspec-mocks documentation explicitly allows both), and of course sometimes a constant referring to a class or module.

I think mixing string and symbol arguments is a bit of a mess, so I would propose making a new cop that enforces either one or the

Improve this page

Add a description, image, and links to the lint 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 lint topic, visit your repo's landing page and select "manage topics."

Learn more