Validate (set of) files over custom rules
npm install grunt-anylint
|3||downloads in the last day|
|10||downloads in the last week|
|19||downloads in the last month|
|Version||0.0.6 last updated 4 months ago|
|Keywords||gruntplugin, anylint, lint, validate, eslint, jshint, jslint, ecmascript, esprima|
Check files and sets of files over custom rules - this time both for metadata and content.
There is a bunch of code with custom JS class system. Each file has some entity defined by custom (global) function.
It's unknown if somebody redefined old class. Neither there is a check if filename corresponds to definition.
Iterate through all the code files, parsing them via set of custom filters. Each filter accepts AST tree for validation and file's metadata.
There is amazing 'eslint' that works with custom rules and AST, but it doesn't support file's metadata by definition.
- Implementation for first level of definitions
- Pull request for 'eslint' or publishing as alternative to it