xojs/xo

Projects in a Turborepo monorepo not using workspace package.json config

Open

#733 建立於 2023年10月11日

在 GitHub 查看
 (3 留言) (3 反應) (0 負責人)JavaScript (7,430 star) (344 fork)batch import
bughelp wanted

描述

Hello,

I have a very simple XO configuration I'd like to share between all the packages and apps in my Turborepo monorepo:

"xo": {
  "prettier": true,
  "rules": {
    "import/extensions": 0
  }
}

The project README states that I should just need one version of this in the root package.json file:

However, I'm seeing linting errors in each of my packages if I don't have this XO config in every package.json. Have I configured something incorrectly?

貢獻者指南