Skip to content
#

lint

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

stylelint
ilyub
ilyub commented Dec 20, 2021

What is the problem you're trying to solve?

I guess that selector-max-universal is performance related rule.
I.e. it is supposed to forbid patterns that hit perfomance.

Consider the following patterns (with selector-max-universal = 1):

  1. "*" involves O(N) search. So, it is Good.
  2. "* *" involves O(N^2) search. So, it is Bad.
  3. "* + *" involves O(N) search ("+ *" = next element = it
status: ready to implement type: new option good first issue
reviewdog
BraisGabin
BraisGabin commented Mar 7, 2022

Expected Behavior

When an exception is thrown while running a Rule we should provide information about the file and the Rule.

Current Behavior

We only provide information about the file.

Context

We had some issues lately where the users report exceptions on a Rule but we need to ask for the full stacktrace to know what's going on (an example: #4612). And the issue is also "de

help wanted feature core good first issue
antross
antross commented Apr 13, 2021

This hint has been around since 2018 and is documented on webhint.io (https://webhint.io/docs/user-guide/hints/hint-doctype/). However it's not enabled by default in any of webhint's configurations (likely an oversight).

We should turn this on by default and perform any necessary cleanup in the process (e.g. switching to get locations from webhint's location-aware DOM that was added after the

type:bug good first issue msft-consider
azu
azu commented Oct 17, 2021

When I've create a rule and test it.

https://github.com/textlint-rule/textlint-rule-no-duplicate-abbr/blob/0e496443352a451d17f04526893ba1c10c60eaf3/src/textlint-rule-no-duplicate-abbr.ts#L4-L12

TypeScript throw an compiler error on textlint-tester.

TS2345: Argument of type 'TextlintRuleReporter<Options>' is not assignable to parameter of type 'TextlintRuleModule<{}> | TestConfig'.   
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