eslint-config
Personal ESLint and tslint configuration.
Usage
ESLint
Add to package.json
:
Or to .eslintrc
:
If targeting older node.js (< 1.0):
If targeting the browser:
If using Babel (requires eslint-plugin-babel and babel-eslint):
If using React (requires eslint-plugin-react):
TSLint
Add to tslint.json
:
If using React (requires tslint-react):