AndersDJohnson / AndersDJohnson/eslint-plugin-rebase

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

未关闭
#45 3 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
enhancement hacktoberfest
主要语言
TypeScript
星标
3
派生
1
PR 合并指标
30 天内没有已合并 PR

描述

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) {",
```

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。