eslint-flymake
editorconfig-emacs
eslint-flymake | editorconfig-emacs | |
---|---|---|
2 | 6 | |
2 | 728 | |
- | 0.5% | |
2.4 | 5.8 | |
about 1 year ago | 7 days ago | |
Emacs Lisp | Emacs Lisp | |
GNU General Public License v3.0 only | GNU General Public License v3.0 only |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
eslint-flymake
-
Eglot has landed on master: Emacs now has a built-in LSP client
> Why wouldn't you want the lint error to be highlighted right as you type the code?
Why do you think you need to involve an LSP for that?. ESLint, as most linters, can take their input from stdin. That is exactly how the eslint-flymake[0] works. Lint on buffer contents, not file on disk. No JSON RPC involved.
0: https://github.com/emacs-pe/eslint-flymake/
-
List of flymake supported languages
Why would there be a canonical list given the fact that anyone can publish a package outside of Emacs core? Who would be in charge of maintaining it? From what I've seen there isn't many backends for the new API but writing your own is straightforward https://github.com/emacs-pe/eslint-flymake. Which languages/linters do you care about?
editorconfig-emacs
-
How Do I Make Emacs Have IDE-Like Indentation On The Fly?
I might be misunderstanding, but would something like EditorConfig help? I have found it does a really good job of configuring indentation behavior for projects that use EditorConfig.
-
Emacs 29 is nigh What can we expect?
For #2, I've been pretty happy with dtrt-indent (https://github.com/jscheid/dtrt-indent) for DWIM indentation bouncing between projects.
I have yet to try apheleia, but I wouldn't be surprised if just enabling apheleia, dtrt-indent, and editorconfig-mode (https://github.com/editorconfig/editorconfig-emacs) in prog-mode-hook just did what you wanted.
-
Eglot has landed on master: Emacs now has a built-in LSP client
> My only complaint is that I can never get Emacs's indentation to match what Prettier wants to do, so I'll type a bunch of code, prettier-on-save, and everything gets moved around.
I had this same issue, and it was annoying enough I continued to use https://github.com/editorconfig/editorconfig-emacs alongside prettier.
This does create another annoyance in having to configure editorconfig for new projects instead of relying on prettier alone.
-
How to Change Autoindent from 2 to 4
Please take a look at Editor Config. It makes handling indentation specifics easy, here a link to the Emacs package.
-
Is there a package or command out there that can add a newline at the end of the file if it doesn't exist?
I am using https://github.com/editorconfig/editorconfig-emacs
-
Editorconfig and tabs/spaces
According to the repo you should only need to enable (editorconfig-mode 1) in the init, but there's also a troubleshooting section that might help out for your specific situation. Hope that helps!
What are some alternatives?
emacs-direnv - direnv integration for emacs
prelude - Prelude is an enhanced Emacs 25.1+ distribution that should make your experience with Emacs both more pleasant and more powerful.
doom-emacs - An Emacs framework for the stubborn martian hacker [Moved to: https://github.com/doomemacs/doomemacs]
projectile - Project Interaction Library for Emacs
eight-ball - interactive Magic 8-Ball function for Emacs
flymake-sqlfluff - flymake plugin for SQL using sqlfluff
doomemacs - An Emacs framework for the stubborn martian hacker
dap-mode - Emacs :heart: Debug Adapter Protocol
neovim - Vim-fork focused on extensibility and usability
.emacs.d - My personal emacs settings, and the ones used in @emacsrocks
prettier-rc-emacs - MELPA package to use local rc rules with prettier