[x] Are you reporting to the correct repository?
(enso is made of many specialized packages: https://github.com/laravel-enso)
[x] Did you check the documentation?
[x] Did you perform a cursory search?
Description
Today I called yarn && yarn upgrade && yarn.
Afterwards I tried to serve the application with yarn serve and got the following error:
Module build failed (from ./node_modules/eslint-loader/index.js):
Error: .eslintrc.js » eslint-config-airbnb-base » /Users/mauthi/coding/Enso/client/node_modules/eslint-config-airbnb-base/rules/imports.js:
Configuration for rule "import/no-cycle" is invalid:
Value "∞" should be integer.
at validateRuleOptions (/Users/mauthi/coding/Enso/client/node_modules/eslint/lib/shared/config-validator.js:138:19)
at /Users/mauthi/coding/Enso/client/node_modules/eslint/lib/shared/config-validator.js:193:9
at Array.forEach (<anonymous>)
at validateRules (/Users/mauthi/coding/Enso/client/node_modules/eslint/lib/shared/config-validator.js:190:30)
at validateConfigArray (/Users/mauthi/coding/Enso/client/node_modules/eslint/lib/shared/config-validator.js:337:9)
at CascadingConfigArrayFactory._finalizeConfigArray (/Users/mauthi/coding/Enso/client/node_modules/eslint/lib/cli-engine/cascading-config-array-factory.js:417:13)
at CascadingConfigArrayFactory.getConfigArrayForFile (/Users/mauthi/coding/Enso/client/node_modules/eslint/lib/cli-engine/cascading-config-array-factory.js:271:21)
at CLIEngine.isPathIgnored (/Users/mauthi/coding/Enso/client/node_modules/eslint/lib/cli-engine/cli-engine.js:951:18)
at CLIEngine.executeOnText (/Users/mauthi/coding/Enso/client/node_modules/eslint/lib/cli-engine/cli-engine.js:868:38)
at lint (/Users/mauthi/coding/Enso/client/node_modules/eslint-loader/index.js:278:17)
at transform (/Users/mauthi/coding/Enso/client/node_modules/eslint-loader/index.js:252:18)
at /Users/mauthi/coding/Enso/client/node_modules/loader-fs-cache/index.js:127:18
at ReadFileContext.callback (/Users/mauthi/coding/Enso/client/node_modules/loader-fs-cache/index.js:31:14)
at FSReqCallback.readFileAfterOpen [as oncomplete] (fs.js:271:13)
You may use special comments to disable some warnings.
Use // eslint-disable-next-line to ignore the next line.
Use /* eslint-disable */ to ignore all warnings in a file.
But after changing the import in package.json to "eslint-plugin-import": "^2.20.1", I got other errors that modules are not imported (I can add them here if needed).
This is a bug.
Prerequisites
Description
Today I called
yarn && yarn upgrade && yarn
. Afterwards I tried to serve the application withyarn serve
and got the following error:I found the following issue which describes the problem: https://github.com/airbnb/javascript/issues/2331
But after changing the import in package.json to
"eslint-plugin-import": "^2.20.1",
I got other errors that modules are not imported (I can add them here if needed).Steps to Reproduce
yarn && yarn upgrade && yarn
yarn serve
Expected behavior
Application served
Actual behavior
Error - see description above