sandbox/.arclint
revi b189fe62aa
npm(prettier-config): add tsconfig to jsonc
Summary:
`tsconfig.json` has comments, so it is jsonc.

Cf. https://aka.ms/tsconfig.json

Also add tsconfig.json in rootdir and update arclint to ignore
`tsconfig.json`.

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

Test Plan: Try prettier checks on `tsconfig.json` after merging.

Reviewers: O1 revi & automations, revi

Reviewed By: O1 revi & automations, revi

Differential Revision: https://issuetracker.revi.xyz/D376
2024-06-20 14:54:14 +09:00

75 lines
1.6 KiB
JSON

{
"exclude": ["(^node_modules/)", "(^package-lock.json$)"],
"linters": {
"chmod": {
"type": "chmod"
},
"css": {
"type": "csslint",
"include": "(\\.css$)"
},
"generated": {
"type": "generated"
},
"jshint": {
"type": "jshint",
"include": ["(\\.cjs$)", "(\\.js$)", "(\\.mjs$)"],
"jshint.jshintrc": ".jshint.json"
},
"json": {
"type": "json",
"include": ["(^\\.arcconfig$)", "(^\\.arclint$)", "(\\.json$)"],
"exclude": ["(^.vscode/*.json$)", "(^tsconfig.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)", "(\\.php)"],
"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"
}
},
"text-php": {
"type": "text",
"include": ["(\\.php)"],
"text.max-line-length": 80,
"severity": {
"1": "autofix",
"2": "disabled",
"3": "advice",
"5": "disabled"
}
},
"yaml lint": {
"type": "yamllint",
"include": ["(\\.yaml$)", "(\\.yml$)", "(^.yamllint$)"]
}
}
}