eslint-plugin-mayaka
v0.2.0
Published
ESLint plugin with various rules.
Downloads
5
Readme
eslint-plugin-mayaka
This ESLint plugin contains various rules.
💿 Install
npm i -D eslint-plugin-mayaka
☕ Usage
Edit your ESLint configuration:
{
"plugins": [
"mayaka"
],
"rules": {
"mayaka/arrow-body-parens-linebreak": 2
}
}
You can add any rules as you want.
🚦 Rules
- arrow-body-parens-linebreak - Enforce style of linebreaks before/after parens of arrow functions bodies.
- destructuring-property-newline - Enforce placing destructuring properties on separate lines.
📃 License
MIT License
Copyright (c) 2019-present Pig Fang