AndersDJohnson / AndersDJohnson/eslint-plugin-rebase

Feature Request: Swap the filename with the rulename in .eslint-rebase.json

Offen
#45 3 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
enhancement hacktoberfest
Vorherrschende Sprache
TypeScript
Sterne
3
Forks
1
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

I am a very rule-orientated person. I would like to use my IDE to inspect and collapse whole rules at a time, inside the .eslint-rebase.json. But currently it's not possible as it lists the filename as the first level, and rule name second.

If we could swap these, it would help with my organizational skills when rebasing eslint for an existing repo.

So instead of
```
{
"ignores": {
"apps/mgmt/components/FeatureFlags/FeatureFlags.tsx": {
"func-names": [
"render: function firstColRender(el) {",
```

We'd have
```
{
"ignores": {
"func-names": [
"apps/mgmt/components/FeatureFlags/FeatureFlags.tsx": {
"render: function firstColRender(el) {",
```

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.