Validate (set of) files over custom rules
Want to see pretty graphs? Log in now!
npm install grunt-anylint
|24||downloads in the last month|
|Last Published By|
|Version||0.0.6 last updated 5 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