0.1.1 • Published 2 years ago
@oncoursesystems/eslint-config-sencha v0.1.1
@oncoursesystems/eslint-config-sencha
OnCourse Systems' Sencha ESLint configuration and rules.
Installation
With npm
:
npm install eslint @oncoursesystems/eslint-config-sencha --save-dev
Or using yarn
:
yarn add eslint @oncoursesystems/eslint-config-sencha -D
Setup
Create an .eslintrc.js
file with the following:
{
"extends": ["@oncoursesystems/eslint-config-sencha"]
}
Usage
Add the following script
to your package.json
:
{
"scripts": {
"lint": "eslint ."
}
}
and run the linter with:
yarn lint