1.0.7 • Published 4 years ago
nature-xo-config v1.0.7
This assumes you have Node.js and npm (bundled with node) and the terminal's working directory is where you want to make
the .xo-config.js
.
- Run
$ npm install --save-dev nature-xo-config
. This should generate the files - If step 1 doesn't work run
$ npx nature-xo-config
If you want to change options, just edit .xo-config.js
:
// .xo-config.js
module.exports = {
...require("nature-xo-config"),
space: true,
};
See https://github.com/naturecodevoid/nature-prettier-config for info on prettier settings.