sinelaw / infernu

Type inference and checking for a safer JavaScript.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Recursive dotfiles for configuration

mcandre opened this issue · comments

JavaScript linters such as JSHint, JSLint, and ESLint offer recursive configuration files for customizing warnings.

For example, a .jshintrc file in the same directory as hello.js, or an ancestor directory of hello.js, can disable warnings for Node.js-related variable names such as module.

Currently there aren't any warnings - only errors which can't be turned off (the resulting type environment would be wrong if these errors were ignored). The reason is that Infernu is a strongly typed system, unlike Flow, TypeScript and Closure, and you can't ignore type errors.