All Projects → desmap → Ale Sensible

desmap / Ale Sensible

Licence: mit
Pretty, responsive and smooth defaults for a sane ALE, gets you started in 30 seconds

Projects that are alternatives of or similar to Ale Sensible

Eslint Config Standard React
ESLint Shareable Config for React/JSX support in JavaScript Standard Style
Stars: ✭ 416 (+1286.67%)
Mutual labels:  eslint, linter, standard
Vim Monokai Tasty
VIM Colour scheme
Stars: ✭ 279 (+830%)
Mutual labels:  neovim, vimrc, color-theme
Eslint Config Standard Jsx
ESLint Shareable Config for JSX support in JavaScript Standard Style
Stars: ✭ 79 (+163.33%)
Mutual labels:  eslint, linter, standard
Awesome Standard
Documenting the explosion of packages in the standard ecosystem!
Stars: ✭ 300 (+900%)
Mutual labels:  eslint, linter, standard
Standard
🌟 JavaScript Style Guide, with linter & automatic code fixer
Stars: ✭ 26,433 (+88010%)
Mutual labels:  eslint, linter, standard
Eslint Config Standard
ESLint Config for JavaScript Standard Style
Stars: ✭ 2,229 (+7330%)
Mutual labels:  eslint, linter, standard
standard-packages
List of packages that use `standard`
Stars: ✭ 32 (+6.67%)
Mutual labels:  eslint, linter, standard
Mydotfiles
All my dot configuration files.
Stars: ✭ 359 (+1096.67%)
Mutual labels:  neovim, vimrc
Dotfiles
Configuration for Linux, Nix, i3, Kitty, Fish, Neovim and more
Stars: ✭ 379 (+1163.33%)
Mutual labels:  neovim, vimrc
Snazzy
Format JavaScript Standard Style as Stylish (i.e. snazzy) output
Stars: ✭ 381 (+1170%)
Mutual labels:  eslint, standard
Neovim Init.vim
🏮 The perfect Neovim configuration for productive people who wants to level up their Vim experience with a clean, minimal-looking aesthetic, as well as a highly extensible, easily customizable set of popular tools and shortcuts to boost productivity. 🏮
Stars: ✭ 440 (+1366.67%)
Mutual labels:  neovim, vimrc
Lynt
✨ A zero config JavaScript linter with support for Typescript, Flow, and React.
Stars: ✭ 390 (+1200%)
Mutual labels:  eslint, linter
Eslint Plugin Sonarjs
SonarJS rules for ESLint
Stars: ✭ 458 (+1426.67%)
Mutual labels:  eslint, linter
Spacevim
A community-driven modular vim/neovim distribution - The ultimate vimrc
Stars: ✭ 17,558 (+58426.67%)
Mutual labels:  neovim, vimrc
Eslint
Find and fix problems in your JavaScript code.
Stars: ✭ 19,665 (+65450%)
Mutual labels:  eslint, linter
Vim Terraform Completion
A (Neo)Vim Autocompletion and linter for Terraform, a HashiCorp tool
Stars: ✭ 280 (+833.33%)
Mutual labels:  linter, neovim
Xo
❤️ JavaScript/TypeScript linter (ESLint wrapper) with great defaults
Stars: ✭ 6,277 (+20823.33%)
Mutual labels:  eslint, linter
Eslint Closure
ESLint Plugin and Config for the Google JavaScript Style Guide
Stars: ✭ 21 (-30%)
Mutual labels:  eslint, linter
Thinkvim
Vim configuration in the 21st century
Stars: ✭ 832 (+2673.33%)
Mutual labels:  neovim, vimrc
awesome-react-app
Always the latest version of "create-react-app" with awesome configurations (lint, commit lint, husk, editor config, etc)
Stars: ✭ 44 (+46.67%)
Mutual labels:  eslint, linter

:PlugInstall sensible defaults for ALE and enjoy an intuitive asynchronous linter out of the box.

Using ALE or going down the rabbit hole

First time, I installed ALE, I uninstalled it right away. ALE is mighty but its real power is hidden behind subpar defaults and a unintuitive UI. Just few settings are needed to get this thing rolling but it took me a day of crawling through help files and Github issues to find the right ones. Then, I had to clutter my .vimrc/init.vim with ALE config lines.

It's ok to spend time configuring your editor but your linter? Don't waste time like I did and use sane defaults from the first second. Introducing ALE SENSIBLE:

Gutter-free, buttersmooth and gorgeous with ANY colortheme

No more broken colorthemes, no dull grey sign coulmn/gutter anymore, ALE SENSIBLE works with any colortheme (dark and light ones). Subtle, non-obtrusive, well-balanced highlights signal errors exactly where they are keeping the gutter free for git tools and markers.

ALE SENSIBLE vs ALE–save time and feel good again

Experience a butter-smooth intuitive UI out of the box, PlugInstall and code. Set sensible defaults for ALE without reading bulky docs, a 44Kb README 😬 or tons of help files. This README, you're reading now, is just a mere 5Kb and you won't need more, tbh you just need the install infos below, the rest is content marketing. Don't waste time with a linter's setup and docs. It's. just. a. linter. Move on, keep coding, create stuff, play Fortnite but do not fix your linter, it should be the way around.

  • No more stuttery, jumpy sign column/gutter shaking up your code, pumping the screen in and out
  • Easy quick-switching of buffers without laggy linter engines bumping the gutter in your face two seconds later
  • No nervous ALE blinking and sending false warnings for the current line while you type and try to code
  • Intuitve highlighting there where you expect, right in the lines where errors are and not somewhere outside
  • No obstrusive, plump default highlighting, marked lines are still easy to read and edit
  • Kicks in when it's right: in Normal Mode always and in Insert Mode only after leaving Insert Mode
  • No intentionally delayed linting, responsive linting always after 0ms (ALE sets an extra 200ms delay)
  • Don't clutter your .vimrc/init.vim with ALE settings you won't understand months later, keep your config clean
  • No bloat in your .vimrc/init.vim, no fiddling around, no trial and error, it's just one line
  • No mess with other sign-column/gutter tools which are more important (e.g. git tools, markers)
  • One-step removal and adding back of ALE SENSIBLE, ALE and their configuration, if :ALEToggle is not enough
  • Experience Vim/Neovim as what they are, slick, minmalistic editors, not some jarring Frankenstein-IDEs
  • Fully documented plugin file, quickly understand what has changed, be able to do custom stuff yourself if required

Linters are overrated: Actually most of us are less productive with linters than without because of 'configuration porn', finding right settings, getting the linter fast, fixing wrong linter warnings or testing different linting engines for days. Only because ALE is asynchronous doesn't make it less distracting.

Install and never touch your linter again

No more half-baken ALE, no more time-wasting, just add one line.

Install with vim-plug

Add

Plug 'desmap/ale-sensible' | Plug 'w0rp/ale'

to your .vimrc/init.vim, restart Vim/Neovim and run :PlugInstall in your .vimrc/init.vim file.

Install with Vundle

Add

Plugin 'desmap/ale-sensible' | Plugin 'w0rp/ale'

to your .vimrc/init.vim, restart Vim/Neovim and run :PlugInstall in your .vimrc/init.vim file.

Final steps and you are ready to go

Remove redundant plugins

If you have already a line with 'w0rp/ale', remove this line (because we have to make sure that some of the new overriding configs load before ALE loads, some ALE oddity, hence the order in the install lines above).

Install linter/fixer engines

Install your desired linter/fixer engines, e.g. for prettified JavaScript linting Prettier and Standard => npm i -D prettier standard (don't mix local and global installs) and ALE will find and support them all. To set fixers, e.g. first Prettier, second Standard JS, add let g:ale_fixers = ['prettier', 'standard'] to your .vimrc/init.vim. To execute them, run :ALEFix and if you like it map it to some key. FYI, a linter warns, a fixer fixes. This should be enough for a quick start. Further options/command/supported linters => :help ale but remember, you should rather be coding than reading a linter's help file. Life is too short and coding is more fun. 😉

Join the discussion

Still think some sensible defaults are missing? Open a pull request!


ALE SENSIBLE, MIT License, Copyright (c) 2019 desmap

You like a good looking editor? Checkout https://github.com/desmap/slick

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].