Skip to content

TouchLay/eslint-config-touchlay

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

eslint-config-touchlay

js-standard-style

StandardJS with ES6 features, babel, JSX, eslint-plugin-react, eslint-plugin-import and dangling commas for multiline statements.

Install

npm install --save-dev eslint-config-touchlay
npx install-peerdeps --dev eslint-config-touchlay

or with yarn:

yarn add --dev eslint-config-touchlay
npx install-peerdeps --dev eslint-config-touchlay

Use

Add to your .eslintrc:

{
  "extends": "touchlay"
}

You can additionally set environments, pick some!

{
  "extends": "touchlay",
  "env": {
    "browser": true,
    "meteor": true,
    "mongo": true,
    "node": true,
  }
}

Atom

In the editor Atom, you can install a linter as follows:

apm install linter-eslint

Restart Atom afterwards to prevent issues.

https://i.imgur.com/dzgzv11.png https://i.imgur.com/K2g1OQc.png

About

StandardJS with ES6 features, babel, jsx, react, import checking and special rules

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •