@jameslnewell/eslint-config
v0.19.0
Published
ESLint configuration.
Downloads
82
Readme
@jameslnewell/eslint-config
ESLint configuration.
Installation
yarn add --dev @jameslnewell/eslint-config eslint
Usage
Create a ESLint configuration file:
.eslintrc.js
module.exports = {
extends: "@jameslnewell/eslint-config",
parserOptions: {
project: "./tsconfig.json"
}
};
Add a script to your package.json
:
package.json
{
"scripts": {
"lint": "eslint --ext .tsx,.ts,.jsx,.js ."
}
}
Configs
@jameslnewell/eslint-config
Sans-react.
@jameslnewell/eslint-config/react
React.