Yongmin Hong
f85a6a2b90
Summary: Thanks pinterest! Also: - fix yamllint and update .gitattributes, and make deploy.sh executable by `chmod +x`. - install linting npm packages. Signed-off-by: Yongmin Hong <revi@omglol.email> Test Plan: `arc lint` Reviewers: O1 revi & automations, revi Reviewed By: O1 revi & automations, revi Differential Revision: https://issuetracker.revi.xyz/D326
60 lines
1.2 KiB
JSON
60 lines
1.2 KiB
JSON
{
|
|
"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"
|
|
}
|
|
},
|
|
"yaml lint": {
|
|
"type": "yamllint",
|
|
"include": ["(\\.yaml$)", "(\\.yml$)", "(^.yamllint$)"]
|
|
}
|
|
}
|
|
}
|