You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
eslint-config-prettier\flowtype.js now throws an error if used, so XO (v0.40.1) is currently broken for me...
Error: Cannot read config file: ...\node_modules\eslint-config-prettier\flowtype.js
Error: "prettier/flowtype" has been merged into "prettier" in eslint-config-prettier 8.0.0. See: https://github.com/prettier/eslint-config-prettier/blob/main/CHANGELOG.md#version-800-2021-02-21
Referenced from: BaseConfig
at Object.<anonymous> (...\node_modules\eslint-config-prettier\flowtype.js:1:7)
at Module._compile (internal/modules/cjs/loader.js:999:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10)
at Module.load (internal/modules/cjs/loader.js:863:32)
at Function.Module._load (internal/modules/cjs/loader.js:708:14)
at Module.require (internal/modules/cjs/loader.js:887:19)
at module.exports (...\node_modules\import-fresh\index.js:32:59)
at loadJSConfigFile (...\node_modules\@eslint\eslintrc\lib\config-array-factory.js:225:16)
at loadConfigFile (...\node_modules\@eslint\eslintrc\lib\config-array-factory.js:309:20)
at ConfigArrayFactory._loadConfigData (...\node_modules\@eslint\eslintrc\lib\config-array-factory.js:609:42)
eslint-config-prettier
already merged all configs into one, so these are useless now.eslint-plugin-prettier
has extra rules disabled, we should useplugin:prettier/recommended
instead IMO. More details see thisI don't really use xo, so I'm not sure what's the best.
The text was updated successfully, but these errors were encountered: