dots/.arclint
Yongmin Hong c98952d447
CI(arclint): fix jshint/json
Summary:
 - jshint: config @ `.jshint.json`
 - json: track sublime-settings
 - remove jsonlint (see {D214})
 - `npm install --save-dev jshint`

Signed-off-by: Yongmin Hong <revi@omglol.email>

Test Plan: `npm run p:c .`, 'arc lint`.

Reviewers: O1 revi & automations, revi

Reviewed By: O1 revi & automations, revi

Differential Revision: https://issuetracker.revi.xyz/D231
2024-06-10 03:30:49 +09:00

69 lines
1.2 KiB
Text

{
"exclude": [
"(^package-lock.json$)"
],
"linters": {
"chmod": {
"type": "chmod"
},
"Generated": {
"type": "generated"
},
"jshint": {
"type": "jshint",
"include": [
"(\\.cjs$)",
"(\\.js$)",
"(\\.jsx$)",
"(\\.mjs$)"
],
"jshint.jshintrc": ".jshint.json"
},
"json": {
"type": "json",
"include": [
"(^.arcconfig$)",
"(^.arclint$)",
"(^.arcunit$)",
"(\\.json$)",
"(\\.sublime-settings$)"
]
},
"merge-conflict": {
"type": "merge-conflict"
},
"nolint": {
"type": "nolint"
},
"spelling": {
"type": "spelling"
},
"text": {
"type": "text",
"exclude": [
"(^.gitignore$)",
"(\\.md$)"
],
"text.max-line-length": 80,
"severity": {
"1": "autofix",
"2": "advice",
"3": "advice",
"5": "disabled"
}
},
"text-markdown": {
"type": "text",
"include": [
"(^.gitignore$)",
"(\\.md$)"
],
"severity": {
"1": "autofix",
"2": "advice",
"3": "disabled",
"5": "disabled"
}
}
}
}