Skip to content

Commit

Permalink
add basic readme
Browse files Browse the repository at this point in the history
  • Loading branch information
runspired committed Sep 28, 2024
1 parent e49c9f5 commit d6499ed
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 1 deletion.
28 changes: 28 additions & 0 deletions packages/eslint-plugin-ember-data/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# eslint-plugin-warp-drive

> [!TIP]
> This Package is also available as eslint-plugin-ember-data
## Rules

- 🛠️ has Autofix
- 〽️ has Partial Autofix
- ✅ Recommended
- 💜 TypeScript Aware

| Rule | Description | Category ||
| ---- | ----------- | -------- | -- |
| no-create-record-rerender | Helps avoid patterns that often lead to excess or broken renders | 🐞⚡️ ||
| no-methods-in-models | restricts adding methods to model classes | usage ||
| no-computeds-in-models | restricts adding computed properties to model classes | usage ||
| no-getters-in-models | restricts adding getters/setters to model classes | usage ||
| no-complex-derivations | Helps avoid patterns that often lead to buggy or brittle code | 🐞 ||
| no-legacy-transforms | Restricts usage of attr transforms on models that often lead to buggy or brittle code | 🐞 ||
| no-peek-all | Restricts peekAll usage to reduce bugs and improve perf | 🐞⚡️ ||
| no-peek-record | Restricts peekRecord usage to reduce bugs | 🐞 ||
| no-direct-imports | Assists in usage of a whitelabel/repackaged app/company configured experience | usage | 🛠️ |
| no-string-includes | Avoids a pattern that doesn't typecheck as nicely | usage | ✅ 🛠️ |
| no-invalid-relationships | Ensures relationship configuration is setup appropriately | usage | ✅ 〽️ |
| no-legacy-methods | Restricts usage of deprecated methods | usage | ✅ 〽️ |
| no-loose-resource-types | Prevents usage of incorrect resource-types | usage | ✅ 〽️ |
| no-loose-ids | Prevents usage of non-string IDs | usage | ✅ 🛠️ |
3 changes: 2 additions & 1 deletion packages/eslint-plugin-ember-data/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@
},
"files": [
"src",
"CHANGELOG.md"
"CHANGELOG.md",
"README.md"
],
"scripts": {
"test": "mocha tests"
Expand Down

0 comments on commit d6499ed

Please sign in to comment.