Skip to content

Instantly share code, notes, and snippets.

@amayer42
Last active July 28, 2022 17:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save amayer42/0d502f27b6688c3c22e314d10622063a to your computer and use it in GitHub Desktop.
Save amayer42/0d502f27b6688c3c22e314d10622063a to your computer and use it in GitHub Desktop.
A collection of commands that I either don't use very often or aren't documented super well (or both)

eslint

debug which files eslint is going to parse

# https://github.com/eslint/eslint/issues/2152#issuecomment-86975010
DEBUG=eslint:* eslint

# Windows
set DEBUG=eslint:* && eslint 

view "resolved" config for a given file

eslint --print-config <path_to_file>

nx

performance logging

NX_PERF_LOGGING=true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment