Closed yvvki closed 9 months ago
Currently this project uses the XO linter which is a wrapper to ESLint, but currently the configuration is broken due to the line:
ignores: ['!.*.{cjs, js}'],
This makes the XO includes its own configuration file (.xo-config.cjs) but I will ignore other files (see xojs/xo#673).
.xo-config.cjs
We would still use Prettier as it is the formatter for non Javascript files.
Move the .xo-config.cjs and .prettierrc.cjs configuration to package.json as it is the practice applied in the XO repo.
.prettierrc.cjs
package.json
Currently this project uses the XO linter which is a wrapper to ESLint, but currently the configuration is broken due to the line:
This makes the XO includes its own configuration file (
.xo-config.cjs
) but I will ignore other files (see xojs/xo#673).We would still use Prettier as it is the formatter for non Javascript files.
Solution
Move the
.xo-config.cjs
and.prettierrc.cjs
configuration topackage.json
as it is the practice applied in the XO repo.