[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] master 4de0e2d 05/22: Don't warn about trailing commas by default
From: |
Dmitry Gutov |
Subject: |
[elpa] master 4de0e2d 05/22: Don't warn about trailing commas by default |
Date: |
Tue, 19 Feb 2019 06:06:45 -0500 (EST) |
branch: master
commit 4de0e2d4ba0b66518a0ad9222eca554d7ed4991e
Author: Dmitry Gutov <address@hidden>
Commit: Dmitry Gutov <address@hidden>
Don't warn about trailing commas by default
#338
---
NEWS.md | 4 ++++
js2-mode.el | 2 +-
2 files changed, 5 insertions(+), 1 deletion(-)
diff --git a/NEWS.md b/NEWS.md
index d66f25e..efd4e7a 100644
--- a/NEWS.md
+++ b/NEWS.md
@@ -1,5 +1,9 @@
# History of user-visible changes
+## Next
+
+* Changed the default of `js2-strict-trailing-comma-warning` to nil.
+
## 2018-03-01
* Support single-line JSDocs.
diff --git a/js2-mode.el b/js2-mode.el
index 5dcb2a6..c1b4877 100644
--- a/js2-mode.el
+++ b/js2-mode.el
@@ -290,7 +290,7 @@ even if this flag is non-nil."
:type 'boolean
:group 'js2-mode)
-(defcustom js2-strict-trailing-comma-warning t
+(defcustom js2-strict-trailing-comma-warning nil
"Non-nil to warn about trailing commas in array literals.
Ecma-262-5.1 allows them, but older versions of IE raise an error."
:type 'boolean
- [elpa] master dee4c47 07/22: Merge pull request #491 from felipeochoa/forward-sexp-in-str, (continued)
- [elpa] master dee4c47 07/22: Merge pull request #491 from felipeochoa/forward-sexp-in-str, Dmitry Gutov, 2019/02/19
- [elpa] master 40a43b1 13/22: Fix broken js2-node-short-name for Emacs 26, Dmitry Gutov, 2019/02/19
- [elpa] master 8bb1907 01/22: Silence "variable ‘_’ not left unused", Dmitry Gutov, 2019/02/19
- [elpa] master 2ed3cc0 17/22: Merge pull request #501 from thorrr/obj-literal-fix, Dmitry Gutov, 2019/02/19
- [elpa] master 58006df 20/22: Release new version, Dmitry Gutov, 2019/02/19
- [elpa] master 381545b 08/22: Make js2-additional-externs safe as a local variable, Dmitry Gutov, 2019/02/19
- [elpa] master ed955e7 21/22: Update NEWS, Dmitry Gutov, 2019/02/19
- [elpa] master 4125b49a 04/22: Merge pull request #487 from lelit/classify-imported, Dmitry Gutov, 2019/02/19
- [elpa] master 1b0e174 12/22: Don't record js2-xml-ref-node's in js2-recorder-identifiers, Dmitry Gutov, 2019/02/19
- [elpa] master 5165f4d 19/22: Merge pull request #507 from piotr-yuxuan/patch-1, Dmitry Gutov, 2019/02/19
- [elpa] master 4de0e2d 05/22: Don't warn about trailing commas by default,
Dmitry Gutov <=
- [elpa] master f863e08 18/22: Update README.md, Dmitry Gutov, 2019/02/19
- [elpa] master d76b4df 09/22: Merge pull request #492 from felipeochoa/additional-externs-safe-local, Dmitry Gutov, 2019/02/19
- [elpa] master b92b3ae 15/22: allow testing for specific errors and add test for object property, Dmitry Gutov, 2019/02/19
- [elpa] master 76b7f45 16/22: fix bug jumping to function def in shorthand property:value literal, Dmitry Gutov, 2019/02/19
- [elpa] master 19be337 11/22: Merge pull request #496 from wyuenho/bug495, Dmitry Gutov, 2019/02/19
- [elpa] master c5cc951 22/22: Merge commit 'ed955e7f1608cfd2d2713129d65f5fd734842ae4' from js2-mode, Dmitry Gutov, 2019/02/19