xojs/xo

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

Aberta

#733 aberto em 11 de out. de 2023

 (3 comentários) (3 reações) (0 responsável)JavaScript (344 forks)batch import
bughelp wanted

Métricas do repositório

Stars
 (7.430 estrelas)
Métricas de merge de PR
 (Métricas PR pendentes)

Description

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?

Guia do colaborador