mirror of
https://github.com/tldr-pages/tldr.git
synced 2024-09-21 08:48:13 +03:00
283 B
283 B
eslint
Find problematic patterns or code that doesn’t adhere to certain style guidelines.
- Create eslint config:
eslint --init
- Fix lint:
eslint --fix
- Lint on files:
eslint {{filename}}.js
- Lint with config:
eslint -c {{config file path}} {{filename}}.js