Skip to content

abouslimi/eslint-config-abouslimi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

eslint-config-abouslimi

Travis npm npm

ESLint shareable config for my personal style.

Installation

npm i -D eslint-config-abouslimi

Usage

Create an eslint configuration file at the root of your project. This file can either be .eslintrc, .eslintrc.json, .eslintrc.js or .eslintrc.yml.

JSON config format example

{
  "extends": "abouslimi"
}

Javascript config format example:

module.exports = {
  extends: "abouslimi"
};

YAML config format example:

extends: abouslimi

Config setup directly in package.json

{
  "name": "your-new-package",
  "version": "1.0.0",
  "private": true,
  "devDependencies": {
    "eslint-config-abouslimi": "^1.0.0"
  },
  "eslintConfig": {
    "extends": "abouslimi"
  }
}

Credits