emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] master 48ff468 220/271: Update linter.


From: Jackson Ray Hamilton
Subject: [elpa] master 48ff468 220/271: Update linter.
Date: Thu, 05 Feb 2015 18:31:24 +0000

branch: master
commit 48ff468c80b546542df7e60bc21e385994b78ee9
Author: Jackson Ray Hamilton <address@hidden>
Commit: Jackson Ray Hamilton <address@hidden>

    Update linter.
---
 README.md                      |    7 +++----
 languages/javascript/.jshintrc |   24 ++++++++++++++++++++++++
 languages/javascript/.jslintrc |    4 ----
 3 files changed, 27 insertions(+), 8 deletions(-)

diff --git a/README.md b/README.md
index b687f45..fe2744a 100644
--- a/README.md
+++ b/README.md
@@ -22,8 +22,7 @@ This coloring strategy is probably more useful than 
conventional *syntax*
 highlighting. Highlighting keywords can help one to detect spelling errors, and
 highlighting the content between quotation marks can alert one to unclosed
 string literals. But a [linter][] could also spot those errors, and if
-[integrated via flycheck][integration], an extra spot opens up in your editing
-toolbelt.
+integrated via [flycheck][], an extra spot opens up in your editing toolbelt.
 
 Give context coloring a try; you may find that it *changes the way you write
 code*.
@@ -141,8 +140,8 @@ If there is an abstract syntax tree generator for your 
language, you can walk
 the syntax tree, find variables and scopes, and build their positions and 
levels
 into an array like the one above.
 
-[linter]: https://github.com/jacksonrayhamilton/jslinted
-[integration]: https://github.com/jacksonrayhamilton/jslinted#emacs-integration
+[linter]: http://jshint.com/about/
+[flycheck]: https://github.com/flycheck/flycheck
 [point]: http://www.gnu.org/software/emacs/manual/html_node/elisp/Point.html
 [js2-mode]: https://github.com/mooz/js2-mode
 [node]: http://nodejs.org/download/
diff --git a/languages/javascript/.jshintrc b/languages/javascript/.jshintrc
new file mode 100644
index 0000000..82211c2
--- /dev/null
+++ b/languages/javascript/.jshintrc
@@ -0,0 +1,24 @@
+{
+  "bitwise": true,
+  "camelcase": true,
+  "curly": true,
+  "devel": true,
+  "eqeqeq": true,
+  "forin": true,
+  "freeze": true,
+  "funcscope": true,
+  "immed": true,
+  "indent": 4,
+  "latedef": true,
+  "newcap": true,
+  "noarg": true,
+  "node": true,
+  "noempty": true,
+  "nonbsp": true,
+  "nonew": true,
+  "plusplus": true,
+  "quotmark": "single",
+  "strict": true,
+  "undef": true,
+  "unused": "strict"
+}
diff --git a/languages/javascript/.jslintrc b/languages/javascript/.jslintrc
deleted file mode 100644
index 03c17c5..0000000
--- a/languages/javascript/.jslintrc
+++ /dev/null
@@ -1,4 +0,0 @@
-{
-  "node": true,
-  "nomen": true
-}



reply via email to

[Prev in Thread] Current Thread [Next in Thread]