@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 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
  [![npm version](https://img.shields.io/npm/v/@heyq02/rslint-config)](https://npmjs.com/package/@heyq02/rslint-config)
6
6
  [![npm downloads](https://img.shields.io/npm/dm/@heyq02/rslint-config)](https://npm.chart.dev/@heyq02/rslint-config)
7
+ [![bundle size](https://img.shields.io/bundlephobia/minzip/@heyq02/rslint-config)](https://bundlephobia.com/package/@heyq02/rslint-config)
7
8
  [![codecov](https://img.shields.io/codecov/c/gh/heyq02/rslint-config)](https://codecov.io/gh/heyq02/rslint-config)
8
9
  [![license](https://img.shields.io/github/license/heyq02/rslint-config)](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 when detected
10
+ * - React / Jest / Rstest / jsx-a11y forced on
11
11
  * - Special-case overrides
12
12
  */
13
13
  export declare const presetAll: () => TypedFlatConfig[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@heyq02/rslint-config",
3
- "version": "0.0.4",
3
+ "version": "0.0.6",
4
4
  "description": "Opinionated Rslint flat-config preset.",
5
5
  "keywords": [
6
6
  "flat-config",