@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.
- package/README.md +5 -3
- package/index.d.ts +3 -1
- 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
|
-
```
|
|
44
|
-
import baseConfig from '@vyriy/eslint-config';
|
|
43
|
+
```ts
|
|
44
|
+
import baseConfig, { type Linter } from '@vyriy/eslint-config';
|
|
45
45
|
|
|
46
|
-
|
|
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