[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
-}
- [elpa] master 03d111c 235/271: Cleanup., (continued)
- [elpa] master 03d111c 235/271: Cleanup., Jackson Ray Hamilton, 2015/02/05
- [elpa] master eba74ae 192/271: Improve assertion functions., Jackson Ray Hamilton, 2015/02/05
- [elpa] master 127b312 225/271: Remove rear-nonsticky., Jackson Ray Hamilton, 2015/02/05
- [elpa] master 441dde0 178/271: Cleanup, comments., Jackson Ray Hamilton, 2015/02/05
- [elpa] master 9fb06d8 254/271: Merge branch 'master' into develop, Jackson Ray Hamilton, 2015/02/05
- [elpa] master 5826178 239/271: Update the dispatch API., Jackson Ray Hamilton, 2015/02/05
- [elpa] master 3c8f842 195/271: Write failing property lookup test., Jackson Ray Hamilton, 2015/02/05
- [elpa] master 4ac1eaa 242/271: Version 3.0.0., Jackson Ray Hamilton, 2015/02/05
- [elpa] master b485897 186/271: Update benchmarks., Jackson Ray Hamilton, 2015/02/05
- [elpa] master 9e177bf 268/271: Update headers and documentation for download-dependencies.el., Jackson Ray Hamilton, 2015/02/05
- [elpa] master 48ff468 220/271: Update linter.,
Jackson Ray Hamilton <=
- [elpa] master a0fefc4 245/271: Add themes. Prepare for ELPA. Version 3.1.0., Jackson Ray Hamilton, 2015/02/05
- [elpa] master 574b955 248/271: Update sentence spacing., Jackson Ray Hamilton, 2015/02/05
- [elpa] master 1f04586 172/271: Merge branch 'feature/js2-mode' into develop, Jackson Ray Hamilton, 2015/02/05
- [elpa] master 87725bc 190/271: Positions., Jackson Ray Hamilton, 2015/02/05
- [elpa] master 7b2a4c8 214/271: Merge branch 'develop', Jackson Ray Hamilton, 2015/02/05
- [elpa] master e210009 221/271: Flycheck link., Jackson Ray Hamilton, 2015/02/05
- [elpa] master a62e98e 260/271: Update header installation instructions., Jackson Ray Hamilton, 2015/02/05
- [elpa] master 94bc0dc 229/271: Add note about comments and strings. Update screenshots., Jackson Ray Hamilton, 2015/02/05
- [elpa] master 83eb0e2 255/271: Externalize the JavaScript scopifier., Jackson Ray Hamilton, 2015/02/05