@heyq02/rslint-config 0.0.4 → 0.0.6
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 +4 -1
- package/dist/presets.d.ts +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
# @heyq02/rslint-config
|
|
2
2
|
|
|
3
|
-
<!-- automd:badges license codecov -->
|
|
3
|
+
<!-- automd:badges license codecov bundlephobia -->
|
|
4
4
|
|
|
5
5
|
[](https://npmjs.com/package/@heyq02/rslint-config)
|
|
6
6
|
[](https://npm.chart.dev/@heyq02/rslint-config)
|
|
7
|
+
[](https://bundlephobia.com/package/@heyq02/rslint-config)
|
|
7
8
|
[](https://codecov.io/gh/heyq02/rslint-config)
|
|
8
9
|
[](https://github.com/heyq02/rslint-config/blob/main/LICENSE)
|
|
9
10
|
|
|
@@ -130,6 +131,8 @@ import { presetJavaScript, presetBasic, presetAll } from '@heyq02/rslint-config'
|
|
|
130
131
|
export default presetBasic();
|
|
131
132
|
```
|
|
132
133
|
|
|
134
|
+
`rslintConfig` is an alias of `heyq02`. `presetAll()` forces TypeScript, React, Jest, Rstest, and jsx-a11y on (unlike `heyq02()`, which auto-detects).
|
|
135
|
+
|
|
133
136
|
## Development
|
|
134
137
|
|
|
135
138
|
See [CONTRIBUTING.md](./CONTRIBUTING.md) for setup, scripts, and PR expectations.
|
package/dist/presets.d.ts
CHANGED
|
@@ -7,7 +7,7 @@ export declare const presetBasic: (typescriptOptions?: true | TypeScriptOptions)
|
|
|
7
7
|
* Full opinionated preset:
|
|
8
8
|
* - JS + TS
|
|
9
9
|
* - Unicorn / import / node / promise
|
|
10
|
-
* - React / Jest / Rstest
|
|
10
|
+
* - React / Jest / Rstest / jsx-a11y forced on
|
|
11
11
|
* - Special-case overrides
|
|
12
12
|
*/
|
|
13
13
|
export declare const presetAll: () => TypedFlatConfig[];
|