-
Updated
Oct 31, 2021 - JavaScript
eslint-plugin
ESLint is an extensible static-analysis tool for JavaScript and related languages that helps catch errors before they break something in production.
Here are 455 public repositories matching this topic...
-
Updated
Nov 26, 2021 - JavaScript
-
Updated
Jan 2, 2022 - JavaScript
Please describe what the rule should do:
In Vue you can use test($event.detail) as well as event => test(event.detail) to achieve the same thing. 1. should be preferred.
test($event.detail)
<Component
@click="test($event.detail)"
/>event => test(event.detail)
<Component
@click="event => test(event.detail)"
/>**What category should
-
Updated
Jan 1, 2022 - JavaScript
-
Updated
Jan 5, 2022 - JavaScript
I was wondering if this repo would be open to a rule to enforce naming of snapshots. Options would be always | mutli | never
- always - Enforce naming of snapshots even if there is only a singular snapshot.
- multi - Enforce naming only if there are multiple snapshots in a test. naming from curly rule
- never - Disallow naming of snapshots
I would be more
-
Updated
Jan 3, 2022 - JavaScript
I want to report a bug.
prefer-single-boolean-return warns on cases like the following:
function f() {
if (condition) {
return true;
} else {
return false;
}
}However, this control flow is arguably unidiomatic JS regardless of whether it's returning a boolean. These cases are already warned against by eslint's built-in [no-else-return](https://esli
-
Updated
Dec 11, 2021 - JavaScript
-
Updated
Oct 22, 2021 - JavaScript
Plugin version
v5
What problem do you want to solve?
Our current tests don't have any specific name or title to identify them. This makes it complicated to debug them, or differentiate the same test cases with different options, etc. Each test is represented by its code itself, which can be something really long, or duplicated between tests with the same code but different options
-
Updated
Jan 1, 2022 - TypeScript
-
Updated
Jul 31, 2020 - JavaScript
-
Updated
Jan 3, 2022 - JavaScript
-
Updated
Jan 1, 2022 - JavaScript
-
Updated
Jan 6, 2022 - JavaScript
I have some very simple components with only one prop.
import/prefer-default-export is failing because it doesn't know about the default export.
I think this should be added to OTHER_PLUGINS.md
It might also be good to add an example of overrides/rules. The eslint documentation is fine but it is generic.
-
Updated
Oct 11, 2021 - TypeScript
-
Updated
Apr 26, 2021 - JavaScript
-
Updated
Jan 4, 2022 - JavaScript
-
Updated
Oct 23, 2021 - JavaScript
-
Updated
Jan 4, 2022 - JavaScript
-
Updated
Apr 26, 2021 - JavaScript
Change format of examples from Old to New.
Old:
New: [@putout/plugin-extract-object-properties](https://github.co
-
Updated
Nov 5, 2021 - JavaScript
Created by Nicholas C. Zakas
Released June 2013
Latest release 6 days ago
- Repository
- eslint/eslint
- Website
- eslint.org
Repro