Add prettier sorting
还没有人认领这个 Issue。
评估
- 难度
- 5/5
- 预计耗时
- 一周以上
- 新手友好度
- 30/100
- Issue 类型
- 功能
- 描述清晰度
- 需要澄清
- 活跃度
- 停滞
- 技术栈
- eslint, typescript
- 领域
- tooling
调研方向
审查链接的三个排序插件,并比较所提议的 import、对象键和 JSON 排序行为。没有指定文件、测试或入口点;完成这项工作需要达成一致的排序范围,并完成经过验证的集成,以避免与 formatter 相关的 PR 不一致问题。
由索引模型根据 Issue 内容生成。
描述
Hey,
I would like to suggest adding a package to sort import to avoid PR inconsistencies from other formatters. In some cases even keys from obj or json could be sorted.
Sorting will make it easier to read, being alphabetically done, while keeping a pattern.
https://github.com/trivago/prettier-plugin-sort-imports
https://github.com/namnm/eslint-plugin-sort-keys
https://github.com/Gudahtt/prettier-plugin-sort-json
Offtopic:
https://ptb.discord.com/channels/426714625279524876/1327348792365944832/1401076285769252926
Biome has type-aware built in rust, so it should be faster, all types of sorting, it's formatter are equal to prettier, it just dont have all the lints that eslint have with additional packages. All in one package.
- 主要语言
- TypeScript
- 星标
- 188
- 派生
- 10
- 平均合并
- 2 天 17 小时
- 30 天内合并 PR
- 3
贡献指南
这个仓库没有索引到贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
callstackincubator/react-native-node-api 的其他 Issue
-
Android 🤖
难度 2/5 1-3 小时 新手友好度 66/100
-
Sanity check of Hermes source directory via environment variable, when building Android projects 未关闭Android 🤖 good first issue
难度 2/5 1-3 小时 新手友好度 78/100
callstackincubator/react-native-node-api#163 · 1 条评论 ·
-
enhancement good first issue gyp-to-cmake
难度 2/5 1-3 小时 新手友好度 72/100
callstackincubator/react-native-node-api#161 · 3 条评论 · 1 个 reaction ·
-
enhancement Host 🏡
难度 5/5 一周以上 新手友好度 25/100
-
Automatable good first issue
难度 3/5 1-2 天 新手友好度 15/100
callstackincubator/react-native-node-api#424 · 1 条评论 ·
查看 callstackincubator/react-native-node-api 的全部 Issue
相似的 Issue
-
S: triage
难度 1/5 1 小时以内 新手友好度 85/100
-
难度 2/5 1-3 小时 新手友好度 76/100
-
fix(errors): EHOSTUNREACH from a happy-eyeballs connect is reported as a resolver error (STAMP-80) 未关闭
难度 2/5 1-3 小时 新手友好度 90/100
snapshot-labs/stamp#666 ·
-
bug
难度 2/5 1-3 小时 新手友好度 75/100
GauravKarakoti/SecureFlow#1070 · 1 条评论 ·
-
feature:Languages/Translations good first issue ready Web
难度 2/5 1-3 小时 新手友好度 72/100
digitalfabrik/integreat-app#4394 ·