Commit Graph

5192 Commits (master)

Author SHA1 Message Date
JenChieh 10430dee42 ci: Exclude macos tests below 28.x 2024-05-19 12:57:47 +03:00
Bozhidar Batsov bec59eeb58 Add a note about flycheck-mode-success-indicator 2024-04-11 09:26:43 +03:00
Bozhidar Batsov f46f058c5b Add a missing changelog entry 2024-04-11 09:20:15 +03:00
Kunht Kun 900b8e7975 Add a new checker 'r' for R
This is a rather rudimentary checker using only the builtin 'parse'
function of R. It can only report syntax/parsing errors, but it does not
depend on any third-party libraries.

R actually has some builtin utilities for linting (for example,
'codetools'), but as far as I know those require evaluating the source
code, so only 'parse' is used.
2024-04-11 07:49:30 +03:00
Chenxi Li 1cc041503d Fix problem caused by ghc 9.6 2024-04-10 15:06:20 +03:00
Ta Quang Trung 42236eb481
Add an option to control whether to display error at point after checking (#1987) 2024-04-10 15:05:41 +03:00
JohnC32 4dd5b394c4
Add FlyC:0 and updated the mode menu (#2035)
1. Add FlyC

   The existing 'FlyC' mode line indicator had two meanings
   - current buffer has not been checked, or
   - last check resulted in no warnings and no errors
   and the manual indicated that it was the later which I found confusing.

   This commit, defines:

   FlyC     This buffer has not been checked yet.
   FlyC:0   Last check resulted and no errors and no warnings.

   Also add colors to the mode line status indicator:

   - FlyC:0     use 'success face
   - FlyC:3|5   use 'error face
   - FlyC!      use 'error face

Note: The :0 is configurable and can be changed via `flycheck-mode-success-indicator'.

2. Update the mode menu to add

   - "Run checker as compile command" which is `flycheck-compile'.
     This is helpful for multiline errors coming from compilers such as clang.
     Also updated the `flycheck-compile' prompt to show the default checker when
     there is one because typing only RET will run the default checker.

   - "Flycheck quick help" which runs new sub, `flycheck-quick-help' and displays
     what the mode line indicators mean along with some of the more common
     key bindings.
2024-04-10 11:17:59 +03:00
Justin Barclay bf11b2a3eb Add changelog entry 2024-03-17 08:06:10 +02:00
Justin Barclay 0c8de6de03 Reorganize flycheck--stylelints to be above all stylelint checkers 2024-03-17 08:06:10 +02:00
Justin Barclay 85a8cb133f Switch new functions to use Emacs private function prefix 2024-03-17 08:06:10 +02:00
Justin Barclay c51775592a fix(stylelint): remove support for older versions of stylelint 2024-03-17 08:06:10 +02:00
Matus Goljer a0944f17d6 feat(stylelint): add verify setup for stylelint 2024-03-17 08:06:10 +02:00
Matus Goljer ab0c69d10e fix(stylelint): stylelint v14 uses incompatible cli arguments
Detect the major version of stylelint, and for verion 14 don't pass
the --syntax argument.
2024-03-17 08:06:10 +02:00
Ron Gut 79d20bf37a Add a comment to explain the print-length requirement 2024-03-07 23:06:24 +02:00
Ron Gut 268dcb184f docstrings should not exceed 80 characters in width
The docstring generated for flycheck-stylelintrc includes each of its
checkers, ending up 87 characters long.  I restricted its definition to print
only the first three (of 4) checkers, which is enough to fix it, though we
might want to consider putting this limit in the macro that generates the
docstring.

Separately, the docstring for flycheck-cuda-extended-lambda included an
overly-long line, which I wrapped.
2024-03-07 23:06:24 +02:00
Gavin Jaeger-Freeborn 5576d404af Add actionlint support to yaml-ts-mode 2024-03-07 23:06:04 +02:00
kunhtkun 02148c6ce7
Adapt to new AUCTeX mode names (#2059)
AUCTeX 14.1 changes mode names[0] so we add those new modes to relevant
checkers as well.

[0] https://git.savannah.gnu.org/cgit/auctex.git/commit/?id=48cc5069988ea1e278f184c236821179e2914a40
2024-02-29 06:28:18 +00:00
Konstantin Kharlamov 9476fe7949 flycheck.el: fix a bunch of "free variable" warnings in parse-statix
There's no problem with nesting `let-alist` because per `let-alist`
documentation, dot-references of an embedded let-alist will only refer
to the embedded let-alist and not the outer one.

Fixes:

    In flycheck-parse-statix:
    flycheck.el:11192:21: Warning: assignment to free variable ‘message’
    flycheck.el:11193:21: Warning: assignment to free variable ‘start-line’
    flycheck.el:11194:21: Warning: assignment to free variable ‘start-column’
    flycheck.el:11195:21: Warning: assignment to free variable ‘end-line’
    flycheck.el:11196:21: Warning: assignment to free variable ‘end-column’
    flycheck.el:11200:16: Warning: reference to free variable ‘start-line’
    flycheck.el:11201:16: Warning: reference to free variable ‘start-column’
    flycheck.el:11205:39: Warning: reference to free variable ‘message’
    flycheck.el:11213:26: Warning: reference to free variable ‘end-line’
    flycheck.el:11214:28: Warning: reference to free variable ‘end-column’
2024-02-27 09:35:56 +02:00
Konstantin Kharlamov 5ea66beac8 flycheck.el: remove unused variable "diagnostic"
Fixes a warning:

    flycheck.el:11199:22: Warning: Unused lexical variable ‘diagnostic’
2024-02-27 09:35:56 +02:00
Bozhidar Batsov 25106e99ed Mention NonGNU ELPA availability 2024-02-24 08:36:37 +01:00
Bozhidar Batsov dab6a92ccc Bump the development version 2024-02-24 08:12:53 +01:00
Bozhidar Batsov bc4b75a18d Tweak changelog entries 2024-02-24 08:10:12 +01:00
Bozhidar Batsov a90a78eafb Add a changelog entry 2024-02-24 08:05:49 +01:00
Bozhidar Batsov ed010752df [Fix #2057] Revert "Extract the fallback package version automatically"
This reverts commit 3970dd0f8e.
2024-02-24 08:03:22 +01:00
Derek Passen eb87e051fb Remove stray character 2024-02-21 08:07:56 +02:00
eyal0 358a5d7f03 Add --expt-extended-lambda to nvcc.
Allows for `__host__ __device__` lambdas as described [here](https://developer.nvidia.com/blog/new-compiler-features-cuda-8/).
2024-02-19 23:14:43 +02:00
eyal0 400ea0d5bd Add --expt-relaxed-constexpr to nvcc.
Calling a `__host__ constexpr` function from a `__device__` function
is experimentally allowed by providing this argument to nvcc.  This
fixes errors that look like this:

```
include/cuco/detail/static_map.inl(400): error: calling a constexpr __host__ function("is_packable") from a __device__ function("operator()") is not allowed. The experimental flag '--expt-relaxed-constexpr' can be used to allow this.
```
2024-02-19 22:20:52 +02:00
Bozhidar Batsov 9854769249 Update a few urls (http -> https) 2024-02-18 22:46:12 +02:00
Bozhidar Batsov 5a9ff918f9 Release 34.1 2024-02-18 21:19:59 +02:00
Bozhidar Batsov 3970dd0f8e Extract the fallback package version automatically 2024-02-18 21:19:26 +02:00
Bozhidar Batsov e0838a7b34 [Fix #2054] Remove explicit dep on seq.el
Going forward we'll just stick to whatever version is bundled with Emacs.
2024-02-18 21:16:11 +02:00
Bozhidar Batsov 601438a92a [Docs] Tweak the elgot section a bit 2024-02-14 21:13:09 +02:00
Bozhidar Batsov e66068989e Release 34.0 2024-02-14 18:57:49 +02:00
Bozhidar Batsov d2c0ec52dd Add flycheck-version const to serve as fallback when version extraction fails 2024-02-13 11:19:36 +02:00
Björn Bidar 6ddc509d49
Replace pkg-info with package-get-version (#2037) 2024-02-13 11:14:52 +02:00
Bozhidar Batsov 14c47f72f8 Mention OpenCollective 2024-02-13 10:44:18 +02:00
Bozhidar Batsov fa3f31b07a Extend the README a bit 2024-02-12 14:59:41 +02:00
Ville Skyttä 2b0f85375c Add support for pymarkdown for markdown 2024-02-12 09:56:30 +02:00
Bozhidar Batsov a393073ea9 [Docs] Mention flycheck-eglot 2024-02-12 00:01:27 +02:00
Bozhidar Batsov 64742cd01d Remove ruby-rubylint 2024-02-11 23:38:51 +02:00
Bozhidar Batsov c2e6daf398 Use RuboCop's error filter in ruby-standard
Standard is just a wrapper around RuboCop.
2024-02-11 23:22:07 +02:00
Bozhidar Batsov 9148682a6d Remove some cruft from the RuboCop checkers 2024-02-11 23:21:35 +02:00
Bozhidar Batsov 6505b01708 Add ruby-chef-cookstyle 2024-02-11 23:15:17 +02:00
Bozhidar Batsov 611b525b9d [Fix #2018] Remove the golint checker 2024-02-11 23:05:28 +02:00
Bozhidar Batsov 6576ae90e0 [Fix #1935] Replace chef-foodcritic with ruby-chef-cookstyle 2024-02-11 22:57:26 +02:00
Bozhidar Batsov 89e94022de Revert "Add automatic issue/pr staleness checks"
This reverts commit a074010177.

Turns out the bot has been deprecated recently in favor of some GitHub action.
Oh, well...
2024-02-11 21:31:40 +02:00
Bozhidar Batsov a074010177 Add automatic issue/pr staleness checks 2024-02-11 21:24:50 +02:00
813gan 8a7c19e466
Add support for RELAX NG schema in xmllint (#2019) 2024-02-11 17:27:20 +02:00
Bozhidar Batsov 3c6a749256 [Docs] Fix links syntax
I still can't get used to this. :D
2024-02-11 14:17:02 +02:00
Bozhidar Batsov 6caa1f2638 [Docs] Add more details about the Eglot and lsp-mode support 2024-02-11 14:11:52 +02:00