eslint-config-standard-js

ESlint rules for optimal JavaScript programming


Keywords
config, eslint, standard, javascript, quotes, rules, accessibility, tabs, perfect, classic, readability, indentation, semicolons, braces
License
MIT
Install
npm install eslint-config-standard-js@1.5.1

Documentation

code style downloads license npm version

eslint-config-classic

ESlint rules for classic-style JavaScript.

Install

npm install --save-dev eslint-config-classic

Usage

Add a .eslintrc.js file to your project with these lines:

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

Optional

Enhance the test script in package.json to precede it with eslint. Adding the --fix parameter will automatically fix files:

"scripts": {
	"test": "eslint --fix . && node ./test.js"
},