Linter should require direct throw statement for raw tests instead of DONOTEVALUATE
Showing
- tools/lint/lib/checks/negative.py 10 additions, 2 deletionstools/lint/lib/checks/negative.py
- tools/lint/test/fixtures/negative_missing_phase.js 2 additions, 0 deletionstools/lint/test/fixtures/negative_missing_phase.js
- tools/lint/test/fixtures/negative_missing_type.js 2 additions, 0 deletionstools/lint/test/fixtures/negative_missing_type.js
- tools/lint/test/fixtures/negative_no_raw_stmt.js 14 additions, 0 deletionstools/lint/test/fixtures/negative_no_raw_stmt.js
- tools/lint/test/fixtures/negative_no_raw_wrong_stmt.js 15 additions, 0 deletionstools/lint/test/fixtures/negative_no_raw_wrong_stmt.js
- tools/lint/test/fixtures/negative_parse_throw_bad_value.js 1 addition, 1 deletiontools/lint/test/fixtures/negative_parse_throw_bad_value.js
- tools/lint/test/fixtures/negative_raw_call.js 15 additions, 0 deletionstools/lint/test/fixtures/negative_raw_call.js
- tools/lint/test/fixtures/negative_raw_wrong_call.js 16 additions, 0 deletionstools/lint/test/fixtures/negative_raw_wrong_call.js
- tools/lint/test/fixtures/negative_resolution_throw_bad_value.js 1 addition, 1 deletion...lint/test/fixtures/negative_resolution_throw_bad_value.js
Please register or sign in to comment