sandbox/.arclint
Yongmin Hong aca8c5967b
CI: new package and configs
Summary:
add following npm packages:

 - jshint
 - prettier

Add `prettier` configs and `.arclint` accordingly.

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

Test Plan: `npm run pcheck`, `npm run pwrite`.

Reviewers: O1 revi & automations, revi

Reviewed By: O1 revi & automations, revi

Differential Revision: https://issuetracker.revi.xyz/D216
2024-06-08 19:04:29 +09:00

70 lines
1.2 KiB
Text

{
"exclude": [
"(^node_modules/)",
"(^package-lock.json$)"
],
"linters": {
"chmod": {
"type": "chmod"
},
"css": {
"type": "csslint",
"include": "(\\.css$)"
},
"generated": {
"type": "generated"
},
"jshint": {
"type": "jshint",
"include": "(\\.js$)"
},
"json": {
"type": "json",
"include": [
"(^\\.arcconfig$)",
"(^\\.arclint$)",
"(\\.json$)"
]
},
"merge-conflict": {
"type": "merge-conflict"
},
"nolint": {
"type": "nolint"
},
"PHP Error Check": {
"type": "php",
"include": "(\\.php$)"
},
"spelling": {
"type": "spelling"
},
"text": {
"type": "text",
"exclude": [
"(^.gitignore$)",
"(\\.md)"
],
"text.max-line-length": 80,
"severity": {
"1": "autofix",
"2": "advice",
"3": "advice",
"5": "disabled"
}
},
"text-no-linelength": {
"type": "text",
"include": [
"(^.gitignore$)",
"(\\.md)"
],
"severity": {
"1": "autofix",
"2": "advice",
"3": "disabled",
"5": "disabled"
}
}
}
}