eslint-config-luxjs

0.4.0 • Public • Published

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

Package Sidebar

Install

npm i eslint-config-luxjs

Weekly Downloads

4

Version

0.4.0

License

MIT

Last publish

Collaborators

  • binaryluke
  • j-