Skip to content

hexa1/eslint-config-hexa1

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

eslint-config-hexa1

This is a base ESLint config that all Hexa1 Javascript projects should use.

It is heavily based on Airbnb's config, with a number of customizations.

Usage

Install eslint and this config:

npm install eslint hexa1/eslint-config-hexa1

Add it to your .eslintrc:

{
  "extends": "hexa1"
}

Syntax support

This config does not include babel-eslint. ESLint itself supports all ES6 features, as well as React/JSX syntax. However, if you're using ES7+ features (rest spread, decorators, etc) you should include babel-eslint in your project's eslint config and configure babel accordingly:

{
  "parser": "babel-eslint",
  "extends": "hexa1"
}

About

Global ESLint Configuration for JS projects

Resources

Stars

Watchers

Forks

Packages

No packages published