feat: use keywords
This commit is contained in:
		
							parent
							
								
									89472a280c
								
							
						
					
					
						commit
						e1444593a9
					
				
							
								
								
									
										23
									
								
								conf.json
									
									
									
									
									
								
							
							
						
						
									
										23
									
								
								conf.json
									
									
									
									
									
								
							|  | @ -6,22 +6,13 @@ | |||
|         "name": "sandbox", | ||||
|         "with": { | ||||
|           "default": { | ||||
|             "args": [ | ||||
|               "bash", | ||||
|               "-c", | ||||
|               "cpplint src/*.cpp" | ||||
|             ], | ||||
|             "env": [ | ||||
|               "PATH=/usr/bin:/bin:/usr/local/bin" | ||||
|             ], | ||||
|             "args": ["bash", "-c", "cpplint src/*.cpp"], | ||||
|             "env": ["PATH=/usr/bin:/bin:/usr/local/bin"], | ||||
|             "cpuLimit": 10000000000, | ||||
|             "memoryLimit": 104857600, | ||||
|             "procLimit": 50, | ||||
|             "copyInDir": ".", | ||||
|             "copyOut": [ | ||||
|               "stdout", | ||||
|               "stderr" | ||||
|             ], | ||||
|             "copyOut": ["stdout", "stderr"], | ||||
|             "stdin": { | ||||
|               "content": "" | ||||
|             }, | ||||
|  | @ -41,17 +32,15 @@ | |||
|         "with": { | ||||
|           "fullScore": 100, | ||||
|           "minScore": 0, | ||||
|           "files": [ | ||||
|             "stderr" | ||||
|           ], | ||||
|           "files": ["stderr"], | ||||
|           "endOnMatch": true, | ||||
|           "matches": [ | ||||
|             { | ||||
|               "keyword": "[legal/copyright]", | ||||
|               "keywords": ["[legal/copyright]"], | ||||
|               "score": 5 | ||||
|             }, | ||||
|             { | ||||
|               "keyword": "[runtime/references]", | ||||
|               "keywords": ["[runtime/references]"], | ||||
|               "score": 2 | ||||
|             } | ||||
|           ] | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue
	
	Block a user