npm run build
> @reatom/[email protected] build
> microbundle -f esm,cjs
(rpt2 plugin) Error: /home/artalar/code/reatom/packages/eslint-plugin/src/rules/schedule-import-rule.ts.ts(60,11): semantic error TS2322: Type 'CallExpression' is not assignable to type 'Node'.
Type 'SimpleCallExpression' is not assignable to type 'Node'.
Type 'import("/home/artalar/code/reatom/packages/eslint-plugin/node_modules/@types/estree/index").SimpleCallExpression' is not assignable to type 'import("/home/artalar/code/reatom/node_modules/@types/estree/index").SimpleCallExpression'.
Types of property 'callee' are incompatible.
Type 'import("/home/artalar/code/reatom/packages/eslint-plugin/node_modules/@types/estree/index").Expression | import("/home/artalar/code/reatom/packages/eslint-plugin/node_modules/@types/estree/index").Super' is not assignable to type 'import("/home/artalar/code/reatom/node_modules/@types/estree/index").Expression | import("/home/artalar/code/reatom/node_modules/@types/estree/index").Super'.
Type 'ArrayExpression' is not assignable to type 'Expression | Super'.
Type 'import("/home/artalar/code/reatom/packages/eslint-plugin/node_modules/@types/estree/index").ArrayExpression' is not assignable to type 'import("/home/artalar/code/reatom/node_modules/@types/estree/index").ArrayExpression'.
Types of property 'elements' are incompatible.
Type '(Expression | SpreadElement | null)[]' is not assignable to type '(Expression | SpreadElement)[]'.
Type 'Expression | SpreadElement | null' is not assignable to type 'Expression | SpreadElement'.
Type 'null' is not assignable to type 'Expression | SpreadElement'.
Error: /home/artalar/code/reatom/packages/eslint-plugin/src/rules/schedule-import-rule.ts.ts(60,11): semantic error TS2322: Type 'CallExpression' is not assignable to type 'Node'.
Type 'SimpleCallExpression' is not assignable to type 'Node'.
Type 'import("/home/artalar/code/reatom/packages/eslint-plugin/node_modules/@types/estree/index").SimpleCallExpression' is not assignable to type 'import("/home/artalar/code/reatom/node_modules/@types/estree/index").SimpleCallExpression'.
Types of property 'callee' are incompatible.
Type 'import("/home/artalar/code/reatom/packages/eslint-plugin/node_modules/@types/estree/index").Expression | import("/home/artalar/code/reatom/packages/eslint-plugin/node_modules/@types/estree/index").Super' is not assignable to type 'import("/home/artalar/code/reatom/node_modules/@types/estree/index").Expression | import("/home/artalar/code/reatom/node_modules/@types/estree/index").Super'.
Type 'ArrayExpression' is not assignable to type 'Expression | Super'.
Type 'import("/home/artalar/code/reatom/packages/eslint-plugin/node_modules/@types/estree/index").ArrayExpression' is not assignable to type 'import("/home/artalar/code/reatom/node_modules/@types/estree/index").ArrayExpression'.
Types of property 'elements' are incompatible.
Type '(Expression | SpreadElement | null)[]' is not assignable to type '(Expression | SpreadElement)[]'.
Type 'Expression | SpreadElement | null' is not assignable to type 'Expression | SpreadElement'.
Type 'null' is not assignable to type 'Expression | SpreadElement'.
at error (/home/artalar/code/reatom/node_modules/rollup/dist/shared/rollup.js:198:30)
at throwPluginError (/home/artalar/code/reatom/node_modules/rollup/dist/shared/rollup.js:21718:12)
at Object.error (/home/artalar/code/reatom/node_modules/rollup/dist/shared/rollup.js:22672:20)
at Object.error (/home/artalar/code/reatom/node_modules/rollup/dist/shared/rollup.js:21895:42)
at RollupContext.error (/home/artalar/code/reatom/node_modules/rollup-plugin-typescript2/dist/rollup-plugin-typescript2.cjs.js:20259:30)
at /home/artalar/code/reatom/node_modules/rollup-plugin-typescript2/dist/rollup-plugin-typescript2.cjs.js:29527:23
at Array.forEach (<anonymous>)
at printDiagnostics (/home/artalar/code/reatom/node_modules/rollup-plugin-typescript2/dist/rollup-plugin-typescript2.cjs.js:29500:17)
at Object.transform (/home/artalar/code/reatom/node_modules/rollup-plugin-typescript2/dist/rollup-plugin-typescript2.cjs.js:29785:17)
at /home/artalar/code/reatom/node_modules/rollup/dist/shared/rollup.js:22879:40
npm error Lifecycle script `build` failed with error:
npm error code 1
npm error path /home/artalar/code/reatom/packages/eslint-plugin
npm error workspace @reatom/[email protected]
npm error location /home/artalar/code/reatom/packages/eslint-plugin
npm error command failed
npm error command sh -c microbundle -f esm,cjs
Package @reatom/eslint-plugin
No response
No response
Pay now to fund the work behind this issue.
Get updates on progress being made.
Maintainer is rewarded once the issue is completed.
You're funding impactful open source efforts
You want to contribute to this effort
You want to get funding like this too