Skip to content
This repository has been archived by the owner on Jun 26, 2024. It is now read-only.

Commit

Permalink
[Debug] Added more debug info.
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanfitzer committed Jul 12, 2022
1 parent 0b8100e commit 62b59eb
Show file tree
Hide file tree
Showing 20 changed files with 1,098 additions and 3 deletions.
9 changes: 6 additions & 3 deletions Support/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -92,9 +92,12 @@ function createCLI( eslint, TMconfig ) {

if ( TMconfig.TMdebug || TMdebug ) {
process.stdout.write( `<h1>ESLint.tmbundle Debug</h1>` );
process.stdout.write( `<h2><code>$PATH</code></h2><pre>${process.env.PATH}</pre>` );
process.stdout.write( `<h2><code>TMconfig</code></h2><pre>${JSON.stringify( TMconfig, null, 2 )}</pre>` );
process.stdout.write( `<h2><code>ESLint v${eslint.version} options</code></h2><pre>${JSON.stringify( options, null, 2 )}</pre>` );
process.stdout.write( `<h2><code>Node.js Version</code></h2><pre>${ process.versions.node }</pre>` );
process.stdout.write( `<h2><code>Node.js Executable Path</code></h2><pre>${ process.execPath }</pre>` );
process.stdout.write( `<h2><code>ESLint Module Path</code></h2><pre>${ eslintPath }</pre>` );
process.stdout.write( `<h2><code>Environment Path</code></h2><pre>${ process.env.PATH }</pre>` );
process.stdout.write( `<h2><code>TMconfig</code></h2><pre>${ JSON.stringify( TMconfig, null, 2 ) }</pre>` );
process.stdout.write( `<h2><code>ESLint v${eslint.version} options</code></h2><pre>${ JSON.stringify( options, null, 2 ) }</pre>` );
}

return new eslint( options );
Expand Down
61 changes: 61 additions & 0 deletions node_modules/.package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions node_modules/handlebars/bin/.eslintrc.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

21 changes: 21 additions & 0 deletions node_modules/handlebars/dist/amd/handlebars/internal/wrapHelper.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 62b59eb

Please sign in to comment.