Global Config
#language: javascript
checks:
javascript:
yoda:
setting: 'Disallow Yoda Conditions'
valid_typeof: true
valid_jsdoc: true
use_isnan: true
space_return_throw_case: true
no_with: true
no_void: true
no_var: true
no_unused_vars: true
no_unused_expressions: true
no_unreachable: true
no_underscore_dangle: true
no_undefined: true
no_trailing_spaces: true
no_space_before_semi: true
no_shadow_restricted_names: true
no_shadow: true
no_self_compare: true
no_return_assign: true
no_reserved_keys: true
no_redeclare: true
no_proto: true
no_new_object: true
no_new_func: true
no_nested_ternary: true
no_mixed_spaces_and_tabs: true
no_loop_func: true
no_lonely_if: true
no_lone_blocks: true
no_labels: true
no_iterator: true
no_irregular_whitespace: true
no_inner_declarations: true
no_extra_semi: true
no_else_return: true
no_dupe_keys: true
no_debugger: true
no_console: true
no_catch_shadow: true
no_caller: true
no_alert: true
max_len:
max_length: '120'
dot_notation: true
tools:
js_hint:
use_native_config: true