Skip to content

75team-biz/eslint-config-neat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

eslint-config-neat

ESLint config for writing clean JavaScript code, based on standardJS.

Installation

Install ESLint and this config package:

npm install --save-dev eslint eslint-config-neat

Then, extends neat in your .eslintrc.* file. An example config:

{
  "extends": "neat",
  "env": {
    "browser": true,
    "node": true
  },
  "parserOptions": {
    "ecmaVersion": 2017,
    "sourceType": "module"
  }
}

Principles

  • Write clean code. Don't put all staff in one file or one function.
  • Prefer new syntax. New ES2017 syntax generally means cleaner code. Use destructuring, arrow function, template string etc.

About

ESLint config for writing clean JavaScript.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published