Skip to content

Commit

Permalink
Update eslint server (support rulesCustomizations setting)
Browse files Browse the repository at this point in the history
  • Loading branch information
rchl committed May 13, 2021
1 parent e318aaa commit 0a47a44
Show file tree
Hide file tree
Showing 9 changed files with 660 additions and 55 deletions.
3 changes: 3 additions & 0 deletions LSP-eslint.sublime-settings
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,9 @@
"vue",
"markdown",
],
// Override the severity of one or more rules, regardless of the project's ESLint config. Use globs to
// apply default severities for multiple rules.
"rulesCustomizations": [],
// Turns on quiet mode, which ignores warnings.
"quiet": false,
// Run the linter on save or on type.
Expand Down
5 changes: 2 additions & 3 deletions language-server/compile-language-server.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,10 @@ popd || exit
pushd "${TEMP_DIR}" || exit

echo 'Enter commit SHA, branch or tag (for example 2.1.0) to build'
read -rp 'SHA, branch or tag (default: master): ' ref
read -rp 'SHA, branch or tag (default: main): ' ref

# use the "master" branch by default
if [ "${ref}" = "" ]; then
ref="master"
ref="main"
fi

temp_zip="src-${ref}.zip"
Expand Down
2 changes: 1 addition & 1 deletion language-server/out/diff.js

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

115 changes: 100 additions & 15 deletions language-server/out/eslintServer.js

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

Loading

0 comments on commit 0a47a44

Please sign in to comment.