Permalink
Browse files

Add licence info (GPL)

  • Loading branch information...
1 parent 68ca28a commit 8edb82be605542b0ef62d38d818adcdde335eecb @purcell committed Jul 23, 2017
Showing with 24 additions and 9 deletions.
  1. +24 −9 flymake-jslint.el
View
@@ -1,19 +1,34 @@
;;; flymake-jslint.el --- A flymake handler for javascript using jslint
-;;
-;;; Author: Steve Purcell <steve@sanityinc.com>
-;;; Homepage: https://github.com/purcell/flymake-jslint
-;;; Version: DEV
-;;; Package-Requires: ((flymake-easy "0.1"))
-;;
+
+;; Copyright (c) 2011-2017 Steve Purcell
+
+;; Author: Steve Purcell <steve@sanityinc.com>
+;; Homepage: https://github.com/purcell/flymake-jslint
+;; Package-Version: 0
+;; Package-Requires: ((flymake-easy "0.1"))
+
+;; This program 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
+;; (at your option) any later version.
+
+;; This program is distributed in the hope that it will be useful,
+;; but WITHOUT ANY WARRANTY; without even the implied warranty of
+;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+;; GNU General Public License for more details.
+
+;; You should have received a copy of the GNU General Public License
+;; along with this program. If not, see <http://www.gnu.org/licenses/>.
+
;;; Commentary:
;;
;; References:
;; http://www.emacswiki.org/cgi-bin/wiki/FlymakeJavaScript
;; http://d.hatena.ne.jp/kazu-yamamoto/mobile?date=20071029
;;
;; Works with either "jslint" from jslint.com, or "jsl" from
-;; javascriptlint.com. The default is "jsl", if that executable is
-;; found at load-time. Otherwise, "jslint" is the default. If you want
+;; javascriptlint.com. The default is "jsl", if that executable is
+;; found at load-time. Otherwise, "jslint" is the default. If you want
;; to use the non-default checker, you can customize the values of
;; `flymake-jslint-command' and `flymake-jslint-args' accordingly.
;;
@@ -62,7 +77,7 @@
'("^\\(.+\\)\:\\([0-9]+\\)\: strict \\(warning: trailing comma.+\\)\:$" nil 2 nil 3))
(defun flymake-jslint-command (filename)
- "Construct a command that flymake can use to check javascript source."
+ "Construct a command that flymake can use to check javascript source in FILENAME."
(append
(list flymake-jslint-command)
flymake-jslint-args

0 comments on commit 8edb82b

Please sign in to comment.