|
35 | 35 | "(BUILD\\.bazel$)",
|
36 | 36 | "(\\.bzl$)"
|
37 | 37 | ],
|
38 |
| - "script-and-regex.script": "./linters/buildifier.sh", |
| 38 | + "script-and-regex.script": "./tools/linters/buildifier.sh", |
39 | 39 | "script-and-regex.regex": "/^(?P<file>.*):(?P<line>\\d+): (?P<error>.*): (?P<message>.*)$/m"
|
40 | 40 | },
|
41 | 41 | "cpplint": {
|
|
46 | 46 | "exclude": [
|
47 | 47 | "(_objc\\.h$)"
|
48 | 48 | ],
|
49 |
| - "bin": "./linters/cpplint/cpplint.py", |
| 49 | + "bin": "./tools/linters/cpplint/cpplint.py", |
50 | 50 | "flags": [
|
51 | 51 | "--filter=-build/c++11",
|
52 | 52 | "--filter=-build/c++14",
|
|
65 | 65 | "include": [
|
66 | 66 | "(^experimental/.*BUILD\\.bazel$)"
|
67 | 67 | ],
|
68 |
| - "script-and-regex.script": "./linters/experimental-manual.sh", |
| 68 | + "script-and-regex.script": "./tools/linters/experimental-manual.sh", |
69 | 69 | "script-and-regex.regex": "/^(?P<file>.*): (?P<message>.*)$/m"
|
70 | 70 | },
|
71 | 71 | "filename": {
|
|
77 | 77 | "(BUILD\\.bazel$)",
|
78 | 78 | "(\\.go$)"
|
79 | 79 | ],
|
80 |
| - "script-and-regex.script": "./linters/gazelle.sh", |
| 80 | + "script-and-regex.script": "./tools/linters/gazelle.sh", |
81 | 81 | "script-and-regex.regex": "/^(?P<severity>[[:alpha:]]+)\n(?P<file>[^\n]+)\n(?P<message>[^\n]+)\n((?P<line>\\d),(?P<char>\\d)\n<<<<<\n(?P<original>.*)=====\n(?P<replacement>.*)>>>>>\n)$/s"
|
82 | 82 | },
|
83 | 83 | "goimports": {
|
|
152 | 152 | "phutil-library": {
|
153 | 153 | "type": "phutil-library",
|
154 | 154 | "include": [
|
155 |
| - "(^arc_addons/.*\\.php$)" |
| 155 | + "(^tools/arc_addons/.*\\.php$)" |
156 | 156 | ]
|
157 | 157 | },
|
158 | 158 | "proto-break-check": {
|
|
180 | 180 | "xhpast": {
|
181 | 181 | "type": "xhpast",
|
182 | 182 | "include": [
|
183 |
| - "(^arc_addons/.*\\.php$)" |
| 183 | + "(^tools/arc_addons/.*\\.php$)" |
184 | 184 | ]
|
185 | 185 | },
|
186 | 186 | "yaml": {
|
|
197 | 197 | },
|
198 | 198 | "eslint-ui": {
|
199 | 199 | "type": "eslint",
|
200 |
| - "bin": "./linters/eslint_ui.sh", |
| 200 | + "bin": "./tools/linters/eslint_ui.sh", |
201 | 201 | "eslint.config": ".eslintrc.json",
|
202 |
| - "eslint.setup": "./linters/eslint_setup.sh", |
| 202 | + "eslint.setup": "./tools/linters/eslint_setup.sh", |
203 | 203 | "include": [
|
204 | 204 | "(^src/ui/.*\\.(tsx|ts|js)$)"
|
205 | 205 | ]
|
|
0 commit comments