Skip to content

isabella232/eslint-config-luxjs

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

eslint-config-luxjs

What?

Guidelines for sensible coding. This config is used by ESLint to automatically ensure developers across projects are adhering to a single, coherent JavaScript coding style.

Why?

Why does JavaScript need a style guide?.

How?

Install ESLint and this config

npm install --save-dev eslint eslint-config-luxjs

Add config to .eslintrc (or package.json) in the root of your project

{
    "extends": "luxjs"
}

Optional: Add script to package.json

{
    "devDependencies": {
        "eslint": "*",
        "eslint-config-luxjs": "*"
    },
    "scripts": {
        "lint": "eslint ."
    }
}

Then, on the command line:

$ npm run lint

About

Luxbet ESLint shareable config

Resources

Code of conduct

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%