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

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

[elpa] externals/js2-mode 46aed6d 11/61: Extend explanation to disclaim


From: Dmitry Gutov
Subject: [elpa] externals/js2-mode 46aed6d 11/61: Extend explanation to disclaim key issue but provide an alternative
Date: Sun, 20 Dec 2020 12:19:59 -0500 (EST)

branch: externals/js2-mode
commit 46aed6d7aa811083ef49914785abe2ab82235767
Author: Jackson Ray Hamilton <jackson@jacksonrayhamilton.com>
Commit: Jackson Ray Hamilton <jackson@jacksonrayhamilton.com>

    Extend explanation to disclaim key issue but provide an alternative
---
 README.md | 19 ++++++++++++++++---
 1 file changed, 16 insertions(+), 3 deletions(-)

diff --git a/README.md b/README.md
index b9a3dc6..b7c5ee5 100644
--- a/README.md
+++ b/README.md
@@ -33,10 +33,23 @@ the corresponding [instructions in the
 
Commentary](https://github.com/mooz/js2-mode/blob/ae9fea81cf9ed80f403c161fde4d8aff1ceb3769/js2-mode.el#L57).
 
 `js-mode` in Emacs 27 includes full support for syntax highlighting
-and indenting of JSX syntax.
+and indenting of JSX syntax. Try it out!
 
-[rjsx-mode](https://github.com/felipeochoa/rjsx-mode/) is an
-alternative option which comes with certain tradeoffs.
+Until [#527](https://github.com/mooz/js2-mode/issues/527) is
+addressed, linting is likely to fail after JSX code. If that bothers
+you, you may elect to disable linting:
+
+```lisp
+(setq js2-mode-show-parse-errors nil)
+(setq js2-mode-show-strict-warnings nil)
+```
+
+In lieu of linting,
+[Flycheck](https://www.flycheck.org/)+[ESLint](https://eslint.org/) is
+an alternative.
+
+Emacs 27 aside, [rjsx-mode](https://github.com/felipeochoa/rjsx-mode/)
+is an alternative option which comes with certain tradeoffs.
 
 Bugs
 ====



reply via email to

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