onnxruntime
247ce218 - [js] optimize eslint config (#18460)

Commit
2 years ago
[js] optimize eslint config (#18460) ### Description optimize eslint config to: - set parserOptions.project to `true` to allow @typescript-eslint/parser to find the nearest tsconfig.json file to that source file. This helps to avoid parsing extra files, may helps with: - reduce the possibility of seeing OOM or stackoverflow with "npm run lint" - faster processing - enforce rule "no-underscore-dangle" with a list of exceptions.
Author
Parents
Loading