mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-22 01:42:09 +02:00
276 B
276 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