WIP:
For a while - not production ready
Actool rules for ESLint to validate code / comments actuality and relevance.
- ๐ฅ Control TODOs chaos
- โฒ๏ธ Control comments actuality
- โข๏ธ Control rubbish code
Requirement: Make sure your repository has git history
- ๐ซ Refer to our overiew doc for quick explanation of features and conception
- If you don't have ESLint yet configured for your project, follow these instructions.
- Install
eslint-plugin-actool
usingnpm
(oryarn
) for you project or globally:
$ npm install eslint-plugin-actool -D # install for your project as devDep
$ npm install eslint-plugin-actool -g # or install globally
- Add
eslint-plugin-actool
to theplugins
option of your.eslintrc
:
{
"plugins": ["actool"]
}
- Add
plugin:actool/recommended
to theextends
option to enable all recommended rules:
{
"extends": ["plugin:actool/recommended"]
}
- or enable only some rules manually:
{
"rules": {
"actool/max-tags": 2,
"actool/relevant-comments": 2,
// etc.
}
}
max-tags
- limit TODO/FIXME tagsscope: file, project
relevant-comments
- validate relevanting of comment doclet with corresponding code statementscope: line, block, module
- (WIP)
no-commented-code
- limit commented code usage and storing
- You want to participate in the development of the project? Have a look at our contributing guide!
Commit like nobody sees, Push like nobody hears
- Found the bug / potential improvement ? Let us know =)
- Overview
- How it work
- FAQ
- Project plans