Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sebastian-naicker/eslint-config-essentials
The bare bones, un-opinionated and essential - Eslint config.
https://github.com/sebastian-naicker/eslint-config-essentials
bare-bones eslint-config-essentials essential
Last synced: about 1 month ago
JSON representation
The bare bones, un-opinionated and essential - Eslint config.
- Host: GitHub
- URL: https://github.com/sebastian-naicker/eslint-config-essentials
- Owner: sebastian-naicker
- License: mit
- Created: 2017-12-07T13:02:20.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2020-02-05T15:34:04.000Z (almost 5 years ago)
- Last Synced: 2024-09-29T01:21:09.135Z (about 2 months ago)
- Topics: bare-bones, eslint-config-essentials, essential
- Language: JavaScript
- Homepage:
- Size: 7.81 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# eslint-config-essentials
The bare bones, un-opinionated, essential - eslint config.## Philosophy
As a developer over the years I've always hated the fact that we just followed some standard
without knowing why or how, we just follow it because the biggest dev houses do.As I matured as a developer my overall vision for my career changed, and if there's one moral value that I stand for today
is developer experience, and guess what? When it comes to linting, it's no different.I've decided to write this config file, as something that will be a template for you to extend on
and add your own rules that you / team feel are required as something that you will enjoy.I don't believe in forcing my opinion on someone especially when it's a subjective matter on code style,
and performance is not impacted. This not only stunts the other developer or everyone in your team,
but it also makes me not enjoy developing, and the reason we're developers, is because we love what we do!With that in mind I really hope, that this could serve as a helping base template for all your linting needs :)
![Downloads](https://img.shields.io/npm/dt/eslint-config-essentials)
## Prerequisites
* **Node ^7.0** [nodejs.org](https://nodejs.org)## Peer dependencies
1. `"eslint": ">= 3"`## Install
npm install eslint-config-essentials --save-devor
yarn add eslint-config-essentials -D## Usage
All you need to do is add the below prop to you eslint config file:
"extends": "essentials"## Example .eslintrc.js
module.exports = {
root: true,
parserOptions: {
ecmaVersion: '6',
sourceType: 'module'
},
extends: 'essentials',
};## Example .eslintrc.json file
{
root: true,
extends: 'essentials'
}## Extending rules
{
"root": true,
"extends": "essentials",
rules: {
"semi": [1, "always"]
}
}