https://github.com/steebchen/eslint-config-ultra
StandardJS with some extra rules
https://github.com/steebchen/eslint-config-ultra
Last synced: 4 months ago
JSON representation
StandardJS with some extra rules
- Host: GitHub
- URL: https://github.com/steebchen/eslint-config-ultra
- Owner: steebchen
- License: mit
- Created: 2016-11-18T19:22:06.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2021-05-09T15:43:06.000Z (about 4 years ago)
- Last Synced: 2024-05-01T14:19:58.934Z (about 1 year ago)
- Language: JavaScript
- Homepage:
- Size: 28.3 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# eslint-config-ultra
This is a eslint plugin ([http://eslint.org](eslint)) with my personal coding style. It is based on [standard](http://standardjs.com/) but with tabs and some extra rules.
## Why tabs
Because it's the only way. I used to indent my code with 2 spaces (4 are just too much! :P), but using tabs is just the right way. Period.
When using tabs, one indentation level equals one character. And everyone can decide how a tab is displayed.Github sadly displays tab as 8 spaces, which looks kinda ugly. However, there are dozens of plugins which fix that with a single click.
The same applies to editors like nano where you can simply set the tabsize in your settings.Usage:
```sh
# installing eslint again here is required for a local install
npm i eslint eslint-config-ultra -D
# or
yarn add eslint eslint-config-ultra --dev
```Then, add the following snippet to your .eslintrc.json (very similar to a js/yml config):
`"extends": "ultra"`
Yay!