@vyriy/eslint-config 0.1.13 → 0.1.16

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.
Files changed (3) hide show
  1. package/README.md +5 -3
  2. package/index.d.ts +3 -1
  3. package/package.json +1 -1
package/README.md CHANGED
@@ -40,10 +40,10 @@ export { default } from '@vyriy/eslint-config';
40
40
 
41
41
  If you need local overrides:
42
42
 
43
- ```js
44
- import baseConfig from '@vyriy/eslint-config';
43
+ ```ts
44
+ import baseConfig, { type Linter } from '@vyriy/eslint-config';
45
45
 
46
- export default [
46
+ const config: Linter.Config[] = [
47
47
  ...baseConfig,
48
48
  {
49
49
  rules: {
@@ -51,6 +51,8 @@ export default [
51
51
  },
52
52
  },
53
53
  ];
54
+
55
+ export default config;
54
56
  ```
55
57
 
56
58
  ## Relative ESM Imports
package/index.d.ts CHANGED
@@ -1,3 +1,5 @@
1
- import type { Linter } from 'eslint';
1
+ import type { ESLint, Linter } from 'eslint';
2
+ export type { ESLint };
3
+ export type { Linter };
2
4
  declare const config: Linter.Config[];
3
5
  export default config;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vyriy/eslint-config",
3
- "version": "0.1.13",
3
+ "version": "0.1.16",
4
4
  "description": "Shared ESLint config for Vyriy projects",
5
5
  "type": "module",
6
6
  "main": "./index.js",