Page MenuHomePhabricator

Enable ArcanistClosureLinter to use severity
Needs ReviewPublic

Authored by philolo1 on Oct 12 2014, 8:32 PM.
Tags
None
Referenced Files
F15467152: D10690.id25661.diff
Thu, Apr 3, 1:12 PM
F15462834: D10690.id.diff
Tue, Apr 1, 5:58 PM
F15459354: D10690.diff
Mon, Mar 31, 12:08 PM
F15448532: D10690.diff
Fri, Mar 28, 5:28 AM
F15429842: D10690.id.diff
Mar 24 2025, 4:36 AM
F15416710: D10690.diff
Mar 20 2025, 1:04 PM
F15343671: D10690.id.diff
Mar 10 2025, 12:15 AM
Unknown Object (File)
Feb 18 2025, 12:15 PM

Details

Summary

I found this bug when using gslint. I wanted to disable the to long line rule and realised it was not working to disable a rulle using severity configuration. This diff should fix it.

Test Plan

Create a repository with a js file and create an .arclint

{
"linters": {
"sample": {
"type": "gjslint",
"include": "(\\.js$)",
"severity": {
"E:0110": "disabled"
}
}
}
}

Now add a long javascript file with a long line. Without the arc lint it should give an error, with it no error message should be shown.

Diff Detail

Repository
rARC Arcanist
Branch
closure_linter
Lint
Lint Passed
Unit
Test Failures
Build Status
Buildable 2813
Build 2817: [Placeholder Plan] Wait for 30 Seconds

Unit TestsFailed

TimeTest
0 mstestPHPCSLint
0 mstestPHPLint
0 mstestClosureLinter
0 mstestFixLetterCase
0 mstestJSHintLinter
View Full Test Results (2 Failed · 13 Passed · 12 Skipped)