eslint-plugin-elt
Description
The ESLint Plugin for ELT Team.
Installing
To install the this package, simply type add or install eslint-plugin-elt
using your favorite package manager:
npm install eslint-plugin-elt
yarn add eslint-plugin-elt
pnpm add eslint-plugin-elt
Getting Started
Basic Usage
// package.json
{
"eslintConfig": {
"extends": [
"plugin:eslint-plugin-elt/base"
// plugin:eslint-plugin-elt/react
// plugin:eslint-plugin-elt/node
]
},
}
With Special Prettier Options
// package.json
{
"eslintConfig": {
"extends": [
"plugin:eslint-plugin-elt/base"
],
"rules": {
"prettier/prettier": ["error", {}]
}
},
"prettier": {
"printWidth": 120,
"singleQuote": true,
"trailingComma": "all"
}
}