Skip to content

Commit

Permalink
Adjust license notice per FSF recommendations
Browse files Browse the repository at this point in the history
The FSF recommends mentioning explicitly that each file is part of
quick-lint-js:

> For programs that are more than one file, it is better to [...] begin
> the statement with a line saying "This file is part of NAME".

https://www.gnu.org/licenses/gpl-howto.html

Change our license notice to mention "THis file is part of quick-lint-js".
  • Loading branch information
strager committed Mar 21, 2021
1 parent 937d0ab commit 7b85462
Show file tree
Hide file tree
Showing 289 changed files with 584 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .clang-format
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ IndentCaseLabels: false
# quick-lint-js finds bugs in JavaScript programs.
# Copyright (C) 2020 Matthew Glazar
#
# This file is part of quick-lint-js.
#
# quick-lint-js is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/build-and-test-dev-env-nix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,8 @@ jobs:
# quick-lint-js finds bugs in JavaScript programs.
# Copyright (C) 2020 Matthew Glazar
#
# This file is part of quick-lint-js.
#
# quick-lint-js is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/build-and-test-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,8 @@ jobs:
# quick-lint-js finds bugs in JavaScript programs.
# Copyright (C) 2020 Matthew Glazar
#
# This file is part of quick-lint-js.
#
# quick-lint-js is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/build-and-test-plugin-vscode.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,8 @@ jobs:
# quick-lint-js finds bugs in JavaScript programs.
# Copyright (C) 2020 Matthew Glazar
#
# This file is part of quick-lint-js.
#
# quick-lint-js is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/build-and-test-web-demo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,8 @@ jobs:
# quick-lint-js finds bugs in JavaScript programs.
# Copyright (C) 2020 Matthew Glazar
#
# This file is part of quick-lint-js.
#
# quick-lint-js is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,8 @@ jobs:
# quick-lint-js finds bugs in JavaScript programs.
# Copyright (C) 2020 Matthew Glazar
#
# This file is part of quick-lint-js.
#
# quick-lint-js is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/build-static.yml
Original file line number Diff line number Diff line change
Expand Up @@ -247,6 +247,8 @@ jobs:
# quick-lint-js finds bugs in JavaScript programs.
# Copyright (C) 2020 Matthew Glazar
#
# This file is part of quick-lint-js.
#
# quick-lint-js is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/check-copyright.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ jobs:
# quick-lint-js finds bugs in JavaScript programs.
# Copyright (C) 2020 Matthew Glazar
#
# This file is part of quick-lint-js.
#
# quick-lint-js is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/check-format.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@ jobs:
# quick-lint-js finds bugs in JavaScript programs.
# Copyright (C) 2020 Matthew Glazar
#
# This file is part of quick-lint-js.
#
# quick-lint-js is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/debian-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,8 @@ jobs:
# quick-lint-js finds bugs in JavaScript programs.
# Copyright (C) 2020 Matthew Glazar
#
# This file is part of quick-lint-js.
#
# quick-lint-js is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/deploy-website.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,8 @@ jobs:
# quick-lint-js finds bugs in JavaScript programs.
# Copyright (C) 2020 Matthew Glazar
#
# This file is part of quick-lint-js.
#
# quick-lint-js is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/simple-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,8 @@ jobs:
# quick-lint-js finds bugs in JavaScript programs.
# Copyright (C) 2020 Matthew Glazar
#
# This file is part of quick-lint-js.
#
# quick-lint-js is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/tag-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ jobs:
# quick-lint-js finds bugs in JavaScript programs.
# Copyright (C) 2020 Matthew Glazar
#
# This file is part of quick-lint-js.
#
# quick-lint-js is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/test-homebrew-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,8 @@ jobs:
# quick-lint-js finds bugs in JavaScript programs.
# Copyright (C) 2020 Matthew Glazar
#
# This file is part of quick-lint-js.
#
# quick-lint-js is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/test-install.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,8 @@ jobs:
# quick-lint-js finds bugs in JavaScript programs.
# Copyright (C) 2020 Matthew Glazar
#
# This file is part of quick-lint-js.
#
# quick-lint-js is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/test-nix-install.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@ jobs:
# quick-lint-js finds bugs in JavaScript programs.
# Copyright (C) 2020 Matthew Glazar
#
# This file is part of quick-lint-js.
#
# quick-lint-js is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/test-vim-plugin.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,8 @@ jobs:
# quick-lint-js finds bugs in JavaScript programs.
# Copyright (C) 2020 Matthew Glazar
#
# This file is part of quick-lint-js.
#
# quick-lint-js is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
Expand Down
2 changes: 2 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,8 @@ endif ()
# quick-lint-js finds bugs in JavaScript programs.
# Copyright (C) 2020 Matthew Glazar
#
# This file is part of quick-lint-js.
#
# quick-lint-js is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
Expand Down
2 changes: 2 additions & 0 deletions Formula/quick-lint-js.rb
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ def install
# quick-lint-js finds bugs in JavaScript programs.
# Copyright (C) 2020 Matthew Glazar
#
# This file is part of quick-lint-js.
#
# quick-lint-js is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
Expand Down
2 changes: 2 additions & 0 deletions benchmark/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,8 @@ target_link_libraries(quick-lint-js-benchmark-support PUBLIC quick-lint-js-lib)
# quick-lint-js finds bugs in JavaScript programs.
# Copyright (C) 2020 Matthew Glazar
#
# This file is part of quick-lint-js.
#
# quick-lint-js is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
Expand Down
2 changes: 2 additions & 0 deletions benchmark/benchmark-cli-location.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,8 @@ BENCHMARK(benchmark_location_realisticish)->Arg(1)->Arg(50);
// quick-lint-js finds bugs in JavaScript programs.
// Copyright (C) 2020 Matthew Glazar
//
// This file is part of quick-lint-js.
//
// quick-lint-js is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
Expand Down
2 changes: 2 additions & 0 deletions benchmark/benchmark-lex.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,8 @@ function buildFragment( elems, context, scripts, selection, ignored ) {
// quick-lint-js finds bugs in JavaScript programs.
// Copyright (C) 2020 Matthew Glazar
//
// This file is part of quick-lint-js.
//
// quick-lint-js is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
Expand Down
2 changes: 2 additions & 0 deletions benchmark/benchmark-lint.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,8 @@ BENCHMARK(benchmark_parse_and_lint);
// quick-lint-js finds bugs in JavaScript programs.
// Copyright (C) 2020 Matthew Glazar
//
// This file is part of quick-lint-js.
//
// quick-lint-js is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
Expand Down
2 changes: 2 additions & 0 deletions benchmark/benchmark-lsp-document.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,8 @@ BENCHMARK(benchmark_create_and_insert_single_characters);
// quick-lint-js finds bugs in JavaScript programs.
// Copyright (C) 2020 Matthew Glazar
//
// This file is part of quick-lint-js.
//
// quick-lint-js is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
Expand Down
2 changes: 2 additions & 0 deletions benchmark/benchmark-lsp-location.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,8 @@ BENCHMARK(benchmark_from_position_realisticish)->Arg(1)->Arg(50);
// quick-lint-js finds bugs in JavaScript programs.
// Copyright (C) 2020 Matthew Glazar
//
// This file is part of quick-lint-js.
//
// quick-lint-js is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
Expand Down
2 changes: 2 additions & 0 deletions benchmark/benchmark-lsp.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -178,6 +178,8 @@ BENCHMARK(benchmark_lsp_tiny_change_on_large_document);
// quick-lint-js finds bugs in JavaScript programs.
// Copyright (C) 2020 Matthew Glazar
//
// This file is part of quick-lint-js.
//
// quick-lint-js is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
Expand Down
2 changes: 2 additions & 0 deletions benchmark/benchmark-parse.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,8 @@ BENCHMARK(benchmark_parse);
// quick-lint-js finds bugs in JavaScript programs.
// Copyright (C) 2020 Matthew Glazar
//
// This file is part of quick-lint-js.
//
// quick-lint-js is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
Expand Down
2 changes: 2 additions & 0 deletions benchmark/benchmark-translation.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,8 @@ BENCHMARK(benchmark_load_translations_and_find_miss);
// quick-lint-js finds bugs in JavaScript programs.
// Copyright (C) 2020 Matthew Glazar
//
// This file is part of quick-lint-js.
//
// quick-lint-js is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
Expand Down
2 changes: 2 additions & 0 deletions benchmark/benchmark-utf-8.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,8 @@ BENCHMARK_CAPTURE(benchmark_advance_lsp_characters_in_utf_8, large_japanese,
// quick-lint-js finds bugs in JavaScript programs.
// Copyright (C) 2020 Matthew Glazar
//
// This file is part of quick-lint-js.
//
// quick-lint-js is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
Expand Down
2 changes: 2 additions & 0 deletions benchmark/benchmark-vim-location.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,8 @@ BENCHMARK(benchmark_location_realisticish)->Arg(1)->Arg(50);
// quick-lint-js finds bugs in JavaScript programs.
// Copyright (C) 2020 Matthew Glazar
//
// This file is part of quick-lint-js.
//
// quick-lint-js is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
Expand Down
2 changes: 2 additions & 0 deletions benchmark/generate-code.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,8 @@ void partial_shuffle(std::vector<T> &items, std::mt19937_64 &rng, int rounds) {
// quick-lint-js finds bugs in JavaScript programs.
// Copyright (C) 2020 Matthew Glazar
//
// This file is part of quick-lint-js.
//
// quick-lint-js is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
Expand Down
2 changes: 2 additions & 0 deletions benchmark/quick-lint-js/generate-code.h
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,8 @@ source_code_with_spans make_realisticish_code(int line_count, int span_count);
// quick-lint-js finds bugs in JavaScript programs.
// Copyright (C) 2020 Matthew Glazar
//
// This file is part of quick-lint-js.
//
// quick-lint-js is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
Expand Down
2 changes: 2 additions & 0 deletions cmake/QuickLintJSCompiler.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,8 @@ endfunction ()
# quick-lint-js finds bugs in JavaScript programs.
# Copyright (C) 2020 Matthew Glazar
#
# This file is part of quick-lint-js.
#
# quick-lint-js is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
Expand Down
2 changes: 2 additions & 0 deletions cmake/QuickLintJSCopyright.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,8 @@ endfunction ()
# quick-lint-js finds bugs in JavaScript programs.
# Copyright (C) 2020 Matthew Glazar
#
# This file is part of quick-lint-js.
#
# quick-lint-js is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
Expand Down
2 changes: 2 additions & 0 deletions cmake/QuickLintJSTarget.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ endfunction ()
# quick-lint-js finds bugs in JavaScript programs.
# Copyright (C) 2020 Matthew Glazar
#
# This file is part of quick-lint-js.
#
# quick-lint-js is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
Expand Down
2 changes: 2 additions & 0 deletions default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@
# quick-lint-js finds bugs in JavaScript programs.
# Copyright (C) 2020 Matthew Glazar
#
# This file is part of quick-lint-js.
#
# quick-lint-js is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
Expand Down
2 changes: 2 additions & 0 deletions dist/debian/apt-ftparchive.conf
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,8 @@ Tree "dists/experimental" {
# quick-lint-js finds bugs in JavaScript programs.
# Copyright (C) 2020 Matthew Glazar
#
# This file is part of quick-lint-js.
#
# quick-lint-js is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
Expand Down
2 changes: 2 additions & 0 deletions dist/debian/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@ lintian quick-lint-js-vim_0.1.0-1_all.deb
# quick-lint-js finds bugs in JavaScript programs.
# Copyright (C) 2020 Matthew Glazar
#
# This file is part of quick-lint-js.
#
# quick-lint-js is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
Expand Down
2 changes: 2 additions & 0 deletions dist/debian/sync-releases-to-apt
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,8 @@ main
# quick-lint-js finds bugs in JavaScript programs.
# Copyright (C) 2020 Matthew Glazar
#
# This file is part of quick-lint-js.
#
# quick-lint-js is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
Expand Down
2 changes: 2 additions & 0 deletions dist/nix/quick-lint-js.nix
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,8 @@ mkDerivation {
# quick-lint-js finds bugs in JavaScript programs.
# Copyright (C) 2020 Matthew Glazar
#
# This file is part of quick-lint-js.
#
# quick-lint-js is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
Expand Down
2 changes: 2 additions & 0 deletions dist/nix/shell.nix
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@
# quick-lint-js finds bugs in JavaScript programs.
# Copyright (C) 2020 Matthew Glazar
#
# This file is part of quick-lint-js.
#
# quick-lint-js is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
Expand Down
2 changes: 2 additions & 0 deletions dist/npm/preinstall.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@ fs.chmodSync(
// quick-lint-js finds bugs in JavaScript programs.
// Copyright (C) 2020 Matthew Glazar
//
// This file is part of quick-lint-js.
//
// quick-lint-js is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
Expand Down
2 changes: 2 additions & 0 deletions docs/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ install(
# quick-lint-js finds bugs in JavaScript programs.
# Copyright (C) 2020 Matthew Glazar
#
# This file is part of quick-lint-js.
#
# quick-lint-js is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
Expand Down
2 changes: 2 additions & 0 deletions docs/quick-lint-js.1
Original file line number Diff line number Diff line change
Expand Up @@ -180,6 +180,8 @@ Errors for \fIlib/pizza\-dough.js\fR will include \fI"bufnr":3\fR in the output
.\" quick-lint-js finds bugs in JavaScript programs.
.\" Copyright (C) 2020 Matthew Glazar
.\"
.\" This file is part of quick-lint-js.
.\"
.\" quick-lint-js is free software: you can redistribute it and/or modify
.\" it under the terms of the GNU General Public License as published by
.\" the Free Software Foundation, either version 3 of the License, or
Expand Down
Loading

0 comments on commit 7b85462

Please sign in to comment.