0.0.8 • Published 7 years ago

eslint-config-tylerbrazier v0.0.8

Weekly downloads
1
License
MIT
Repository
github
Last release
7 years ago

eslint-config-tylerbrazier

Deprecated. Will probably use StandardJS instead

http://eslint.org/docs/developer-guide/shareable-configs

Usage

For a project:

npm install --save-dev eslint eslint-config-tylerbrazier

Add a .eslintrc.js:

module.exports = {
  env: {
    node: true, // or browser:true for client side js
    es6: true,
  },
  extends: 'tylerbrazier',
};

Put a separate .eslintrc.js with env: { browser:true, ... } in the root of the client side code.

In package.json:

"scripts": {
  "lint": "eslint"
}

Then to lint a file or whole directory:

npm run lint <file or dir>

Or for one-off usage:

npm install -g eslint eslint-config-tylerbrazier
eslint -c tylerbrazier --env node,es6 <file>

Rules

No semicolons because

0.0.8

7 years ago

0.0.7

8 years ago

0.0.6

8 years ago

0.0.5

8 years ago

0.0.4

8 years ago

0.0.3

9 years ago

0.0.2

9 years ago

0.0.1

9 years ago