From 6cfaa0daef24d1ab9d61f02ef4dfb7006187142a Mon Sep 17 00:00:00 2001 From: "Matthew \"strager\" Glazar" Date: Wed, 25 Oct 2023 20:01:00 -0400 Subject: [PATCH] chore: prepare for 2.17.0 release --- Formula/quick-lint-js.rb | 2 +- dist/arch/PKGBUILD-dev | 2 +- dist/arch/PKGBUILD-git | 2 +- dist/arch/PKGBUILD-release | 2 +- dist/chocolatey/quick-lint-js.nuspec | 2 +- dist/chocolatey/tools/VERIFICATION.txt | 4 +- dist/debian/README.md | 4 +- dist/debian/debian/changelog | 6 + dist/debian/debian/changelog-bionic | 6 + dist/msix/AppxManifest.xml | 2 +- dist/npm/BUILDING.md | 8 +- dist/npm/package.json | 2 +- dist/scoop/quick-lint-js.template.json | 2 +- dist/sign-release.go | 36 ++-- ...lint.quick-lint-js.installer.template.yaml | 2 +- ...t.quick-lint-js.locale.en-US.template.yaml | 2 +- .../quick-lint.quick-lint-js.template.yaml | 2 +- docs/CHANGELOG.md | 4 +- docs/man/quick-lint-js-lsp.8 | 4 +- docs/man/quick-lint-js.1 | 163 +++++++++++++++++- docs/man/quick-lint-js.config.5 | 4 +- .../quick-lint-js.vim/doc/quick-lint-js.txt | 2 +- plugin/vscode-lsp/README.md | 2 +- plugin/vscode-lsp/package.json | 2 +- plugin/vscode/BUILDING.md | 2 +- plugin/vscode/package.json | 2 +- version | 4 +- 27 files changed, 220 insertions(+), 55 deletions(-) diff --git a/Formula/quick-lint-js.rb b/Formula/quick-lint-js.rb index cd969a71b3..03c80e0f6b 100644 --- a/Formula/quick-lint-js.rb +++ b/Formula/quick-lint-js.rb @@ -4,7 +4,7 @@ class QuickLintJs < Formula desc "Find bugs in your JavaScript code" homepage "https://quick-lint-js.com/" - url "https://c.quick-lint-js.com/releases/2.16.0/source/quick-lint-js-2.16.0.tar.gz" + url "https://c.quick-lint-js.com/releases/2.17.0/source/quick-lint-js-2.17.0.tar.gz" license "GPL-3.0-or-later" head "https://github.com/quick-lint/quick-lint-js.git", branch: "master" diff --git a/dist/arch/PKGBUILD-dev b/dist/arch/PKGBUILD-dev index 753300ecb5..aba4cb9710 100644 --- a/dist/arch/PKGBUILD-dev +++ b/dist/arch/PKGBUILD-dev @@ -5,7 +5,7 @@ # Contributor: Shivam Mehta pkgname=quick-lint-js-dev -pkgver=2.16.0 +pkgver=2.17.0 pkgrel=1 pkgdesc="Find bugs in JavaScript programs" arch=(aarch64 arm armv6h armv7h i686 pentium4 x86_64) diff --git a/dist/arch/PKGBUILD-git b/dist/arch/PKGBUILD-git index 4fdc9c75ed..296dac13ef 100644 --- a/dist/arch/PKGBUILD-git +++ b/dist/arch/PKGBUILD-git @@ -5,7 +5,7 @@ # Contributor: Shivam Mehta pkgname=quick-lint-js-git -pkgver=2.16.0 +pkgver=2.17.0 pkgrel=1 pkgdesc="Find bugs in JavaScript programs" arch=(aarch64 arm armv6h armv7h i686 pentium4 x86_64) diff --git a/dist/arch/PKGBUILD-release b/dist/arch/PKGBUILD-release index 93ae48eae5..15264260fe 100644 --- a/dist/arch/PKGBUILD-release +++ b/dist/arch/PKGBUILD-release @@ -5,7 +5,7 @@ # Contributor: Shivam Mehta pkgname=quick-lint-js -pkgver=2.16.0 +pkgver=2.17.0 pkgrel=1 pkgdesc="Find bugs in JavaScript programs" arch=(aarch64 arm armv6h armv7h i686 pentium4 x86_64) diff --git a/dist/chocolatey/quick-lint-js.nuspec b/dist/chocolatey/quick-lint-js.nuspec index abf4ee6854..6cfef8b5f3 100644 --- a/dist/chocolatey/quick-lint-js.nuspec +++ b/dist/chocolatey/quick-lint-js.nuspec @@ -3,7 +3,7 @@ quick-lint-js - 2.16.0 + 2.17.0 quick-lint-js (Install) Matthew "strager" Glazar et al Matthew "strager" Glazar diff --git a/dist/chocolatey/tools/VERIFICATION.txt b/dist/chocolatey/tools/VERIFICATION.txt index 0686c6802c..6d60afc94e 100644 --- a/dist/chocolatey/tools/VERIFICATION.txt +++ b/dist/chocolatey/tools/VERIFICATION.txt @@ -5,5 +5,5 @@ in verifying that this package's contents are trustworthy. I, Matthew "strager" Glazar, am the software vendor who packaged this software for Chocolatey. -Upstream SHA256 checksums: https://c.quick-lint-js.com/releases/2.16.0/SHA256SUMS -GPG signature: https://c.quick-lint-js.com/releases/2.16.0/SHA256SUMS.asc +Upstream SHA256 checksums: https://c.quick-lint-js.com/releases/2.17.0/SHA256SUMS +GPG signature: https://c.quick-lint-js.com/releases/2.17.0/SHA256SUMS.asc diff --git a/dist/debian/README.md b/dist/debian/README.md index 49d7b88833..ef41e7dbcb 100644 --- a/dist/debian/README.md +++ b/dist/debian/README.md @@ -48,7 +48,7 @@ To test `asgen-config.json` or metadata changes locally: * Change `MediaBaseUrl` to `"http://localhost:8069/appstream/export/media/"`. * Change `HtmlBaseUrl` to `"http://localhost:8069/appstream/export/html/"`. 5. Create a directory `debian/pool/`. -6. Copy `dist/debian/*2.16.0*` (built by the [Building](#Building) instructions +6. Copy `dist/debian/*2.17.0*` (built by the [Building](#Building) instructions above) into the `debian/pool/` directory. 7. Run `./dist/debian/update-repository path/to/debian`. 8. Start an HTTP server in the `debian` directory. For example: @@ -73,7 +73,7 @@ To release to downstream Debian, we [ship a source package to Debian mentors][]. 1. Download a signed release .tar.gz and .tar.gz.asc (e.g. from ). 2. Create a package using `package.sh`: - `./dist/debian/package.sh --output-directory debian-package --orig path/to/quick-lint-js-2.16.0.tar.gz --sign` + `./dist/debian/package.sh --output-directory debian-package --orig path/to/quick-lint-js-2.17.0.tar.gz --sign` * NOTE: `package.sh` will use the `debian` sources from your checkout (`./dist/debian/debian/`), not from the signed release tarball. 3. Upload the package: `dput mentors debian-package/quick-lint-js_2.4.2-1_source.changes` diff --git a/dist/debian/debian/changelog b/dist/debian/debian/changelog index e6dfdf6465..2229591df1 100644 --- a/dist/debian/debian/changelog +++ b/dist/debian/debian/changelog @@ -1,3 +1,9 @@ +quick-lint-js (2.17.0-1) unstable; urgency=medium + + * New release. + + -- Matthew "strager" Glazar Wed, 25 Oct 2023 19:42:44 -0400 + quick-lint-js (2.16.0-1) unstable; urgency=medium * New release. diff --git a/dist/debian/debian/changelog-bionic b/dist/debian/debian/changelog-bionic index a4b8bf16f9..dc2cac96e9 100644 --- a/dist/debian/debian/changelog-bionic +++ b/dist/debian/debian/changelog-bionic @@ -1,3 +1,9 @@ +quick-lint-js (2.17.0-1) unstable; urgency=medium + + * New release. + + -- Matthew "strager" Glazar Wed, 25 Oct 2023 19:42:44 -0400 + quick-lint-js (2.16.0-1) unstable; urgency=medium * New release. diff --git a/dist/msix/AppxManifest.xml b/dist/msix/AppxManifest.xml index d0f0231ff6..43673dc2fe 100644 --- a/dist/msix/AppxManifest.xml +++ b/dist/msix/AppxManifest.xml @@ -10,7 +10,7 @@ + Version="2.17.0.0" /> quick-lint-js diff --git a/dist/npm/BUILDING.md b/dist/npm/BUILDING.md index d114e934ca..969fa8437f 100644 --- a/dist/npm/BUILDING.md +++ b/dist/npm/BUILDING.md @@ -8,12 +8,12 @@ To build this quick-lint-js npm package: * `dist/npm/linux-x64/bin/quick-lint-js`: Linux x86_64 executable * `dist/npm/darwin-x64/bin/quick-lint-js`: macOS 64-bit Intel executable * `dist/npm/win32-x64/bin/quick-lint-js.exe`: Windows x64 executable -3. Run `npm pack .` to create `quick-lint-js-2.16.0.tgz`. +3. Run `npm pack .` to create `quick-lint-js-2.17.0.tgz`. To install system-wide, run -`npm install --global --unsafe-perm ./quick-lint-js-2.16.0.tgz`. +`npm install --global --unsafe-perm ./quick-lint-js-2.17.0.tgz`. To install within an existing Node.js project, run -`npm install /path/to/quick-lint-js-2.16.0.tgz`. +`npm install /path/to/quick-lint-js-2.17.0.tgz`. -To publish to npm's registry, run `npm publish ./quick-lint-js-2.16.0.tgz`. +To publish to npm's registry, run `npm publish ./quick-lint-js-2.17.0.tgz`. diff --git a/dist/npm/package.json b/dist/npm/package.json index 63fd772040..3f3beaabac 100644 --- a/dist/npm/package.json +++ b/dist/npm/package.json @@ -1,7 +1,7 @@ { "name": "quick-lint-js", "description": "Find bugs in your JavaScript code", - "version": "2.16.0", + "version": "2.17.0", "keywords": [ "quick", "lint", diff --git a/dist/scoop/quick-lint-js.template.json b/dist/scoop/quick-lint-js.template.json index 7d2b241748..9754210702 100644 --- a/dist/scoop/quick-lint-js.template.json +++ b/dist/scoop/quick-lint-js.template.json @@ -1,5 +1,5 @@ { - "version": "2.16.0", + "version": "2.17.0", "description": "Find bugs in JavaScript programs.", "homepage": "https://quick-lint-js.com/", "license": "GPL-3.0-or-later,MIT,BSL-1.0,Apache-2.0,ZPL-2.1,Public Domain,Unknown,ISC,BSD-2-Clause,MIT-CMU,LGPL-2.1-or-later,GPL-2.0-or-later,BSD-3-Clause", diff --git a/dist/sign-release.go b/dist/sign-release.go index e23d962408..974429390a 100644 --- a/dist/sign-release.go +++ b/dist/sign-release.go @@ -115,7 +115,7 @@ func main() { log.Fatal(err) } - sourceTarballPath := filepath.Join(destinationDir, "source/quick-lint-js-2.16.0.tar.gz") + sourceTarballPath := filepath.Join(destinationDir, "source/quick-lint-js-2.17.0.tar.gz") log.Printf("signing: %s\n", sourceTarballPath) if err := RelicFile(sourceTarballPath, sourceTarballPath+".asc", RelicSignPGP); err != nil { log.Fatal(err) @@ -160,23 +160,23 @@ var filesToTransform map[DeepPath]FileTransformType = map[DeepPath]FileTransform NewDeepPath2("manual/windows-arm.zip", "bin/quick-lint-js.exe"): RelicWindows, NewDeepPath2("manual/windows-x86.zip", "bin/quick-lint-js.exe"): RelicWindows, NewDeepPath2("manual/windows.zip", "bin/quick-lint-js.exe"): RelicWindows, - NewDeepPath2("npm/quick-lint-js-2.16.0.tgz", "package/darwin-arm64/bin/quick-lint-js"): RelicApple, - NewDeepPath2("npm/quick-lint-js-2.16.0.tgz", "package/darwin-x64/bin/quick-lint-js"): RelicApple, - NewDeepPath2("npm/quick-lint-js-2.16.0.tgz", "package/linux-arm/bin/quick-lint-js"): RelicPGP, - NewDeepPath2("npm/quick-lint-js-2.16.0.tgz", "package/linux-arm64/bin/quick-lint-js"): RelicPGP, - NewDeepPath2("npm/quick-lint-js-2.16.0.tgz", "package/linux-x64/bin/quick-lint-js"): RelicPGP, - NewDeepPath2("npm/quick-lint-js-2.16.0.tgz", "package/win32-arm64/bin/quick-lint-js.exe"): RelicWindows, - NewDeepPath2("npm/quick-lint-js-2.16.0.tgz", "package/win32-ia32/bin/quick-lint-js.exe"): RelicWindows, - NewDeepPath2("npm/quick-lint-js-2.16.0.tgz", "package/win32-x64/bin/quick-lint-js.exe"): RelicWindows, - NewDeepPath2("vscode/quick-lint-js-2.16.0.vsix", "extension/dist/quick-lint-js-vscode-node_darwin-arm64.node"): RelicApple, - NewDeepPath2("vscode/quick-lint-js-2.16.0.vsix", "extension/dist/quick-lint-js-vscode-node_darwin-x64.node"): RelicApple, - NewDeepPath2("vscode/quick-lint-js-2.16.0.vsix", "extension/dist/quick-lint-js-vscode-node_linux-arm.node"): RelicPGP, - NewDeepPath2("vscode/quick-lint-js-2.16.0.vsix", "extension/dist/quick-lint-js-vscode-node_linux-arm64.node"): RelicPGP, - NewDeepPath2("vscode/quick-lint-js-2.16.0.vsix", "extension/dist/quick-lint-js-vscode-node_linux-x64.node"): RelicPGP, - NewDeepPath2("vscode/quick-lint-js-2.16.0.vsix", "extension/dist/quick-lint-js-vscode-node_win32-arm.node"): RelicWindows, - NewDeepPath2("vscode/quick-lint-js-2.16.0.vsix", "extension/dist/quick-lint-js-vscode-node_win32-arm64.node"): RelicWindows, - NewDeepPath2("vscode/quick-lint-js-2.16.0.vsix", "extension/dist/quick-lint-js-vscode-node_win32-ia32.node"): RelicWindows, - NewDeepPath2("vscode/quick-lint-js-2.16.0.vsix", "extension/dist/quick-lint-js-vscode-node_win32-x64.node"): RelicWindows, + NewDeepPath2("npm/quick-lint-js-2.17.0.tgz", "package/darwin-arm64/bin/quick-lint-js"): RelicApple, + NewDeepPath2("npm/quick-lint-js-2.17.0.tgz", "package/darwin-x64/bin/quick-lint-js"): RelicApple, + NewDeepPath2("npm/quick-lint-js-2.17.0.tgz", "package/linux-arm/bin/quick-lint-js"): RelicPGP, + NewDeepPath2("npm/quick-lint-js-2.17.0.tgz", "package/linux-arm64/bin/quick-lint-js"): RelicPGP, + NewDeepPath2("npm/quick-lint-js-2.17.0.tgz", "package/linux-x64/bin/quick-lint-js"): RelicPGP, + NewDeepPath2("npm/quick-lint-js-2.17.0.tgz", "package/win32-arm64/bin/quick-lint-js.exe"): RelicWindows, + NewDeepPath2("npm/quick-lint-js-2.17.0.tgz", "package/win32-ia32/bin/quick-lint-js.exe"): RelicWindows, + NewDeepPath2("npm/quick-lint-js-2.17.0.tgz", "package/win32-x64/bin/quick-lint-js.exe"): RelicWindows, + NewDeepPath2("vscode/quick-lint-js-2.17.0.vsix", "extension/dist/quick-lint-js-vscode-node_darwin-arm64.node"): RelicApple, + NewDeepPath2("vscode/quick-lint-js-2.17.0.vsix", "extension/dist/quick-lint-js-vscode-node_darwin-x64.node"): RelicApple, + NewDeepPath2("vscode/quick-lint-js-2.17.0.vsix", "extension/dist/quick-lint-js-vscode-node_linux-arm.node"): RelicPGP, + NewDeepPath2("vscode/quick-lint-js-2.17.0.vsix", "extension/dist/quick-lint-js-vscode-node_linux-arm64.node"): RelicPGP, + NewDeepPath2("vscode/quick-lint-js-2.17.0.vsix", "extension/dist/quick-lint-js-vscode-node_linux-x64.node"): RelicPGP, + NewDeepPath2("vscode/quick-lint-js-2.17.0.vsix", "extension/dist/quick-lint-js-vscode-node_win32-arm.node"): RelicWindows, + NewDeepPath2("vscode/quick-lint-js-2.17.0.vsix", "extension/dist/quick-lint-js-vscode-node_win32-arm64.node"): RelicWindows, + NewDeepPath2("vscode/quick-lint-js-2.17.0.vsix", "extension/dist/quick-lint-js-vscode-node_win32-ia32.node"): RelicWindows, + NewDeepPath2("vscode/quick-lint-js-2.17.0.vsix", "extension/dist/quick-lint-js-vscode-node_win32-x64.node"): RelicWindows, NewDeepPath("windows/quick-lint-js.msix"): RelicWindows, NewDeepPath2("windows/quick-lint-js.msix", "quick-lint-js.exe"): RelicWindows, } diff --git a/dist/winget/quick-lint.quick-lint-js.installer.template.yaml b/dist/winget/quick-lint.quick-lint-js.installer.template.yaml index 12d9bd3acb..c16faaed9e 100644 --- a/dist/winget/quick-lint.quick-lint-js.installer.template.yaml +++ b/dist/winget/quick-lint.quick-lint-js.installer.template.yaml @@ -5,7 +5,7 @@ # http://creativecommons.org/publicdomain/zero/1.0/ PackageIdentifier: quick-lint.quick-lint-js -PackageVersion: 2.16.0.0 +PackageVersion: 2.17.0.0 Installers: - InstallerUrl: {{ .BaseURI }}windows/quick-lint-js.msix diff --git a/dist/winget/quick-lint.quick-lint-js.locale.en-US.template.yaml b/dist/winget/quick-lint.quick-lint-js.locale.en-US.template.yaml index 6e4b06beb7..8dfdf082c9 100644 --- a/dist/winget/quick-lint.quick-lint-js.locale.en-US.template.yaml +++ b/dist/winget/quick-lint.quick-lint-js.locale.en-US.template.yaml @@ -5,7 +5,7 @@ # http://creativecommons.org/publicdomain/zero/1.0/ PackageIdentifier: quick-lint.quick-lint-js -PackageVersion: 2.16.0.0 +PackageVersion: 2.17.0.0 PackageLocale: en-US PackageName: quick-lint-js diff --git a/dist/winget/quick-lint.quick-lint-js.template.yaml b/dist/winget/quick-lint.quick-lint-js.template.yaml index ce93a6a09f..472b539456 100644 --- a/dist/winget/quick-lint.quick-lint-js.template.yaml +++ b/dist/winget/quick-lint.quick-lint-js.template.yaml @@ -5,7 +5,7 @@ # http://creativecommons.org/publicdomain/zero/1.0/ PackageIdentifier: quick-lint.quick-lint-js -PackageVersion: 2.16.0.0 +PackageVersion: 2.17.0.0 DefaultLocale: en-US ManifestType: version diff --git a/docs/CHANGELOG.md b/docs/CHANGELOG.md index 0df95f2f24..65509b49fd 100644 --- a/docs/CHANGELOG.md +++ b/docs/CHANGELOG.md @@ -6,7 +6,9 @@ based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). quick-lint-js' version numbers are arbitrary. quick-lint-js does *not* adhere to Semantic Versioning. -## Unreleased +## 2.17.0 (2023-10-25) + +[Downloads](https://c.quick-lint-js.com/releases/2.17.0/) ### Added diff --git a/docs/man/quick-lint-js-lsp.8 b/docs/man/quick-lint-js-lsp.8 index d6cb31e288..67254da484 100644 --- a/docs/man/quick-lint-js-lsp.8 +++ b/docs/man/quick-lint-js-lsp.8 @@ -12,10 +12,10 @@ .\" Author: [see the "AUTHOR(S)" section] .\" Generator: Asciidoctor 2.0.17 .\" Manual: \ \& -.\" Source: quick-lint-js version  2.16.0 +.\" Source: quick-lint-js version  2.17.0 .\" Language: English .\" -.TH "QUICK\-LINT\-JS\-LSP" "8" "" "quick\-lint\-js version  2.16.0" "\ \&" +.TH "QUICK\-LINT\-JS\-LSP" "8" "" "quick\-lint\-js version  2.17.0" "\ \&" .ie \n(.g .ds Aq \(aq .el .ds Aq ' .ss \n[.ss] 0 diff --git a/docs/man/quick-lint-js.1 b/docs/man/quick-lint-js.1 index 4b3e8de9b1..e67fae9840 100644 --- a/docs/man/quick-lint-js.1 +++ b/docs/man/quick-lint-js.1 @@ -12,10 +12,10 @@ .\" Author: [see the "AUTHOR(S)" section] .\" Generator: Asciidoctor 2.0.17 .\" Manual: \ \& -.\" Source: quick-lint-js version  2.16.0 +.\" Source: quick-lint-js version  2.17.0 .\" Language: English .\" -.TH "QUICK\-LINT\-JS" "1" "" "quick\-lint\-js version  2.16.0" "\ \&" +.TH "QUICK\-LINT\-JS" "1" "" "quick\-lint\-js version  2.17.0" "\ \&" .ie \n(.g .ds Aq \(aq .el .ds Aq ' .ss \n[.ss] 0 @@ -181,11 +181,56 @@ searching for a configuration file (see \fBquick\-lint\-js.config\fP(5)). Therefore, if multiple input files are given, \fB\-\-path\-for\-config\-search\fP can be specified multiple times. If \fB\-\-path\-for\-config\-search\fP is the last option, it has no effect. .sp +\fB\-\-path\-for\-config\-search\fP overrides \fB\-\-stdin\-path\fP. +.sp Incompatible with \fB\-\-lsp\-server\fP. .sp Added in quick\-lint\-js version 0.4.0. .RE .sp +\fB\-\-stdin\-path\fP=\fIpath\fP +.RS 4 + Change the behavior of \fB\-\-stdin\fP. +\fB\-\-stdin\fP still reads a string from standard input, but otherwise it behaves as if the file at \fIpath\fP was specified instead: +.sp +.RS 4 +.ie n \{\ +\h'-04'\(bu\h'+03'\c +.\} +.el \{\ +. sp -1 +. IP \(bu 2.3 +.\} +The default language is determined by \fIpath\fP (unless overridden by \fB\-\-language\fP). +See \fB\-\-language\fP for details. +.RE +.sp +.RS 4 +.ie n \{\ +\h'-04'\(bu\h'+03'\c +.\} +.el \{\ +. sp -1 +. IP \(bu 2.3 +.\} +Searching for a configuration file +is based on \fIpath\fP (unless overridden by \fB\-\-config\-file\fP or \fB\-\-path\-for\-config\-file\fP). +(See \fBquick\-lint\-js.config\fP(5) for details on configuration file searching.) +.RE +.sp +\fB\-\-stdin\-path\fP applies to only \fB\-\-stdin\fP, not file paths (even special files such as /dev/stdin). +.sp +\fB\-\-stdin\-path\fP may appear anywhere in the command line (except after \fB\-\-\fP). +.sp +\fIpath\fP must be a syntactically\-valid path. +\fIpath\fP does not need to exist in the filesystem. +\fIpath\fP may be a relative path or an absolute path. +.sp +Incompatible with \fB\-\-lsp\-server\fP. +.sp +Added in quick\-lint\-js version 2.17.0. +.RE +.sp \fB\-\-config\-file\fP=\fIfile\fP .RS 4 Read configuration options from \fIfile\fP and apply them to input files which are given later in the command line. @@ -196,6 +241,8 @@ See the EXAMPLE section for an example. .sp If \fB\-\-config\-file\fP is not given, \fBquick\-lint\-js\fP searches for a configuration file according to the rules specified in \fBquick\-lint\-js.config\fP(5). .sp +\fB\-\-config\-file\fP overrides \fB\-\-path\-for\-config\-file\fP and \fB\-\-stdin\-path\fP. +.sp Incompatible with \fB\-\-lsp\-server\fP. .sp Added in quick\-lint\-js version 0.3.0. @@ -257,6 +304,83 @@ Interpret input files which are given later in the command line as if they were . sp -1 . IP \(bu 2.3 .\} +\fBexperimental\-default\fP: infer the \fIlanguageid\fP from the file\(cqs extension (EXPERIMENTAL; subject to change in future versions of quick\-lint\-js): +.sp +.RS 4 +.ie n \{\ +\h'-04'\(bu\h'+03'\c +.\} +.el \{\ +. sp -1 +. IP \(bu 2.3 +.\} +\fB.js\fP: \fBjavascript\-jsx\fP +.RE +.sp +.RS 4 +.ie n \{\ +\h'-04'\(bu\h'+03'\c +.\} +.el \{\ +. sp -1 +. IP \(bu 2.3 +.\} +\fB.jsx\fP: \fBjavascript\-jsx\fP +.RE +.sp +.RS 4 +.ie n \{\ +\h'-04'\(bu\h'+03'\c +.\} +.el \{\ +. sp -1 +. IP \(bu 2.3 +.\} +\fB.d.ts\fP: \fBexperimental\-typescript\-definition\fP +.RE +.sp +.RS 4 +.ie n \{\ +\h'-04'\(bu\h'+03'\c +.\} +.el \{\ +. sp -1 +. IP \(bu 2.3 +.\} +\fB.ts\fP: \fBexperimental\-typescript\fP +.RE +.sp +.RS 4 +.ie n \{\ +\h'-04'\(bu\h'+03'\c +.\} +.el \{\ +. sp -1 +. IP \(bu 2.3 +.\} +\fB.tsx\fP: \fBexperimental\-typescript\-jsx\fP +.RE +.sp +.RS 4 +.ie n \{\ +\h'-04'\(bu\h'+03'\c +.\} +.el \{\ +. sp -1 +. IP \(bu 2.3 +.\} +(anything else): \fBjavascript\-jsx\fP +.RE +.RE +.sp +.RS 4 +.ie n \{\ +\h'-04'\(bu\h'+03'\c +.\} +.el \{\ +. sp -1 +. IP \(bu 2.3 +.\} \fBjavascript\fP: the latest ECMAScript standard with proposed features. .RE .sp @@ -315,6 +439,31 @@ See the EXAMPLE section for an example. .sp If \fB\-\-language\fP is the last option, it has no effect. .sp +If the input file is \fB\-\-stdin\fP: +.sp +.RS 4 +.ie n \{\ +\h'-04'\(bu\h'+03'\c +.\} +.el \{\ +. sp -1 +. IP \(bu 2.3 +.\} +If \fB\-\-stdin\-path\fP is specified, its \fIpath\fP is used for \fB\-\-language=default\fP. +.RE +.sp +.RS 4 +.ie n \{\ +\h'-04'\(bu\h'+03'\c +.\} +.el \{\ +. sp -1 +. IP \(bu 2.3 +.\} +If \fB\-\-stdin\-path\fP is not specified, then the path is assumed to be \fBexample.js\fP. +This means that \fB\-\-language=default\fP will behave like \fB\-\-language=javascript\-jsx\fP. +.RE +.sp Incompatible with \fB\-\-lsp\-server\fP. .sp Added in quick\-lint\-js version 2.10.0. @@ -331,13 +480,15 @@ Incompatible with \fB\-\-lsp\-server\fP. .sp \fB\-\-stdin\fP .RS 4 -Read standard input as a JavaScript file. +Read standard input as an input file. .sp -If neither \fB\-\-config\-file\fP nor \fB\-\-path\-for\-config\-search\fP is specified, an empty configuration file is assumed. +If none of \fB\-\-config\-file\fP, \fB\-\-path\-for\-config\-search\fP, or \fB\-\-stdin\-path\fP are specified, an empty configuration file is assumed. If \fB\-\-config\-file\fP is specified, \fIfile\fP is used for linting standard input. -If \fB\-\-path\-for\-config\-search\fP is specified and \fB\-\-config\-file\fP is not specified, +If \fB\-\-config\-file\fP is not specified and either \fB\-\-stdin\-path\fP or \fB\-\-path\-for\-config\-search\fP is specified, \fBquick\-lint\-js\fP searches for a configuration file according to the rules specified in \fBquick\-lint\-js.config\fP(5) -starting from \fB\-\-path\-for\-config\-search\fP\*(Aqs \fIpath\fP. +starting from \fB\-\-stdin\-path\fP\*(Aqs \fIpath\fP or \fB\-\-path\-for\-config\-search\fP\*(Aqs \fIpath\fP. +.sp +If neither \fB\-\-stdin\-path\fP nor \fB\-\-language\fP are specified, the \fBjavascript\-jsx\fP language is used. .sp Incompatible with \fB\-\-lsp\-server\fP. .sp diff --git a/docs/man/quick-lint-js.config.5 b/docs/man/quick-lint-js.config.5 index d49db3f630..f747923563 100644 --- a/docs/man/quick-lint-js.config.5 +++ b/docs/man/quick-lint-js.config.5 @@ -12,10 +12,10 @@ .\" Author: [see the "AUTHOR(S)" section] .\" Generator: Asciidoctor 2.0.17 .\" Manual: \ \& -.\" Source: quick-lint-js version  2.16.0 +.\" Source: quick-lint-js version  2.17.0 .\" Language: English .\" -.TH "QUICK\-LINT\-JS.CONFIG" "5" "" "quick\-lint\-js version  2.16.0" "\ \&" +.TH "QUICK\-LINT\-JS.CONFIG" "5" "" "quick\-lint\-js version  2.17.0" "\ \&" .ie \n(.g .ds Aq \(aq .el .ds Aq ' .ss \n[.ss] 0 diff --git a/plugin/vim/quick-lint-js.vim/doc/quick-lint-js.txt b/plugin/vim/quick-lint-js.vim/doc/quick-lint-js.txt index 0681d319a3..b8b8d5dccd 100644 --- a/plugin/vim/quick-lint-js.vim/doc/quick-lint-js.txt +++ b/plugin/vim/quick-lint-js.vim/doc/quick-lint-js.txt @@ -7,7 +7,7 @@ This file contains instructions for installing and using the quick-lint-js plugin. -This plugin version is designed for quick-lint-js version 2.16.0. Older or +This plugin version is designed for quick-lint-js version 2.17.0. Older or newer versions might or might not work. 1. Installing quick-lint-js |quick-lint-js-app-install| diff --git a/plugin/vscode-lsp/README.md b/plugin/vscode-lsp/README.md index a1c31e92ae..4aa8f7e72a 100644 --- a/plugin/vscode-lsp/README.md +++ b/plugin/vscode-lsp/README.md @@ -10,6 +10,6 @@ To build the extension, run the following commands: $ yarn $ ./node_modules/.bin/vsce package -This will create a file called `quick-lint-js-lsp-2.16.0.vsix`. +This will create a file called `quick-lint-js-lsp-2.17.0.vsix`. [VisualStudioCode]: https://code.visualstudio.com/ diff --git a/plugin/vscode-lsp/package.json b/plugin/vscode-lsp/package.json index c32548073f..85a18f878c 100644 --- a/plugin/vscode-lsp/package.json +++ b/plugin/vscode-lsp/package.json @@ -2,7 +2,7 @@ "name": "quick-lint-js-lsp", "description": "Find JavaScript bugs with quick-lint-js (LSP version, not recommended)", "publisher": "quick-lint", - "version": "2.16.0", + "version": "2.17.0", "engines": { "vscode": "^1.43.0" }, diff --git a/plugin/vscode/BUILDING.md b/plugin/vscode/BUILDING.md index 0f718058b9..b2bf5b1a74 100644 --- a/plugin/vscode/BUILDING.md +++ b/plugin/vscode/BUILDING.md @@ -15,7 +15,7 @@ CMake][build-quick-lint-js] with `-DQUICK_LINT_JS_ENABLE_VSCODE=YES $ # Copy files into the VS Code extension: $ cmake --install build --component vscode-node --prefix plugin/vscode -Finally, run the following commands to create `quick-lint-js-2.16.0.vsix`: +Finally, run the following commands to create `quick-lint-js-2.17.0.vsix`: $ cd plugin/vscode/ # Navigate to this directory. $ yarn diff --git a/plugin/vscode/package.json b/plugin/vscode/package.json index 7215322cbb..1a96e84406 100644 --- a/plugin/vscode/package.json +++ b/plugin/vscode/package.json @@ -2,7 +2,7 @@ "name": "quick-lint-js", "description": "Find JavaScript bugs with quick-lint-js", "publisher": "quick-lint", - "version": "2.16.0", + "version": "2.17.0", "license": "SEE LICENSE IN LICENSE", "categories": [ "Linters" diff --git a/version b/version index 64b1d8a38d..140ee6da8c 100644 --- a/version +++ b/version @@ -1,2 +1,2 @@ -2.16.0 -2023-09-06 +2.17.0 +2023-10-25