mejora 1.1.0 → 1.2.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 +3 -3
- package/dist/index.d.mts +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -79,11 +79,11 @@ Create one of:
|
|
|
79
79
|
Example:
|
|
80
80
|
|
|
81
81
|
```ts
|
|
82
|
-
import { defineConfig,
|
|
82
|
+
import { defineConfig, eslint, typescript } from "mejora";
|
|
83
83
|
|
|
84
84
|
export default defineConfig({
|
|
85
85
|
checks: {
|
|
86
|
-
"eslint > no-nested-ternary":
|
|
86
|
+
"eslint > no-nested-ternary": eslint({
|
|
87
87
|
files: ["src/**/*.{ts,tsx,js,jsx}"],
|
|
88
88
|
overrides: {
|
|
89
89
|
rules: {
|
|
@@ -91,7 +91,7 @@ export default defineConfig({
|
|
|
91
91
|
},
|
|
92
92
|
},
|
|
93
93
|
}),
|
|
94
|
-
"typescript":
|
|
94
|
+
"typescript": typescript({
|
|
95
95
|
overrides: {
|
|
96
96
|
compilerOptions: {
|
|
97
97
|
noImplicitAny: true,
|
package/dist/index.d.mts
CHANGED
|
@@ -156,4 +156,4 @@ declare function typescriptCheck(config: TypeScriptCheckConfig): {
|
|
|
156
156
|
//#region src/config.d.ts
|
|
157
157
|
declare const defineConfig: (config: Config) => Config;
|
|
158
158
|
//#endregion
|
|
159
|
-
export { type Config, defineConfig, eslintCheck, typescriptCheck };
|
|
159
|
+
export { type Config, defineConfig, eslintCheck as eslint, eslintCheck, typescriptCheck as typescript, typescriptCheck };
|
package/dist/index.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{i as e,o as t,t as n}from"./config-c3IzQqLC.mjs";export{n as defineConfig,t as eslintCheck,e as typescriptCheck};
|
|
1
|
+
import{i as e,o as t,t as n}from"./config-c3IzQqLC.mjs";export{n as defineConfig,t as eslint,t as eslintCheck,e as typescript,e as typescriptCheck};
|