@pobammer-ts/small-rules 2.10.0 → 2.11.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +21 -4
- package/dist/index.js +10 -10
- package/package.json +9 -9
package/README.md
CHANGED
|
@@ -1,6 +1,23 @@
|
|
|
1
|
+
<div align="center">
|
|
2
|
+
|
|
1
3
|
# `@pobammer-ts/small-rules`
|
|
2
4
|
|
|
3
|
-
|
|
5
|
+
**Oxlint-native lint rules for [roblox-ts](https://roblox-ts.com/) projects**
|
|
6
|
+
|
|
7
|
+
[](https://www.npmjs.com/package/@pobammer-ts/small-rules)
|
|
8
|
+
[](https://www.npmjs.com/package/@pobammer-ts/small-rules)
|
|
9
|
+
[](https://docs.howmanysmall.com/small-rules/rules/)
|
|
10
|
+
[](https://github.com/pobammer-ts/small-rules/actions/workflows/ci.yaml)
|
|
11
|
+
[](https://github.com/pobammer-ts/small-rules/blob/main/LICENSE)
|
|
12
|
+
|
|
13
|
+
[](https://www.typescriptlang.org/)
|
|
14
|
+
[](https://nodejs.org)
|
|
15
|
+
[](https://oxc.rs)
|
|
16
|
+
[](https://biomejs.dev)
|
|
17
|
+
|
|
18
|
+
</div>
|
|
19
|
+
|
|
20
|
+
---
|
|
4
21
|
|
|
5
22
|
## Installation
|
|
6
23
|
|
|
@@ -8,7 +25,7 @@ A collection of [Oxlint](https://oxc.rs)-native rules for linting [roblox-ts](ht
|
|
|
8
25
|
ni -D @pobammer-ts/small-rules
|
|
9
26
|
```
|
|
10
27
|
|
|
11
|
-
|
|
28
|
+
> Requires [Oxlint](https://oxc.rs) **v1.69.0+**, TypeScript **5 – <8**, and Node.js **≥20.19** or **≥22.12**.
|
|
12
29
|
|
|
13
30
|
## Configuration
|
|
14
31
|
|
|
@@ -24,11 +41,11 @@ Register the plugin in your `.oxlintrc.json` and enable the rules you want:
|
|
|
24
41
|
}
|
|
25
42
|
```
|
|
26
43
|
|
|
27
|
-
All rules are namespaced under
|
|
44
|
+
All rules are namespaced under `small-rules/`. Pick the subset that fits your project — there is no bulk opt-in.
|
|
28
45
|
|
|
29
46
|
## Rules
|
|
30
47
|
|
|
31
|
-
Browse the [
|
|
48
|
+
Browse the [**full rule catalog →**](https://docs.howmanysmall.com/small-rules/rules/) for descriptions, options, diagnostics, and examples.
|
|
32
49
|
|
|
33
50
|
## License
|
|
34
51
|
|