LinuxCommandLibrary

xo

xo

TLDR

Lint files in the "src" directory

$ xo
copy


Lint a given set of files
$ xo [file1].js [file2].js
copy


Automatically fix any lint issues found
$ xo --fix
copy


Lint using spaces as indentation instead of tabs
$ xo --space
copy


Lint using the "prettier" code style
$ xo --prettier
copy

Copied to clipboard