feat: use keywords
This commit is contained in:
		
							parent
							
								
									08430403fe
								
							
						
					
					
						commit
						741183b201
					
				
							
								
								
									
										26
									
								
								conf.json
									
									
									
									
									
								
							
							
						
						
									
										26
									
								
								conf.json
									
									
									
									
									
								
							|  | @ -11,17 +11,12 @@ | |||
|               "-c", | ||||
|               "clang-tidy-18 --header-filter=.* --quiet -checks=* src/*.cpp" | ||||
|             ], | ||||
|             "env": [ | ||||
|               "PATH=/usr/bin:/bin:/usr/local/bin" | ||||
|             ], | ||||
|             "env": ["PATH=/usr/bin:/bin:/usr/local/bin"], | ||||
|             "cpuLimit": 10000000000, | ||||
|             "memoryLimit": 104857600, | ||||
|             "procLimit": 50, | ||||
|             "copyInDir": ".", | ||||
|             "copyOut": [ | ||||
|               "stdout", | ||||
|               "stderr" | ||||
|             ], | ||||
|             "copyOut": ["stdout", "stderr"], | ||||
|             "stdin": { | ||||
|               "content": "" | ||||
|             }, | ||||
|  | @ -41,21 +36,20 @@ | |||
|         "with": { | ||||
|           "fullScore": 1000, | ||||
|           "minScore": 0, | ||||
|           "files": [ | ||||
|             "stdout" | ||||
|           ], | ||||
|           "files": ["stdout"], | ||||
|           "endOnMatch": true, | ||||
|           "matches": [ | ||||
|             { | ||||
|               "keyword": "[cppcoreguidelines-avoid-non-const-global-variables]", | ||||
|               "keywords": [ | ||||
|                 "[cppcoreguidelines-avoid-non-const-global-variables]" | ||||
|               ], | ||||
|               "score": 5 | ||||
|             }, | ||||
|             { | ||||
|               "keyword": "[readability-identifier-length]", | ||||
|               "score": 2 | ||||
|             }, | ||||
|             { | ||||
|               "keyword": "[misc-use-anonymous-namespace]", | ||||
|               "keywords": [ | ||||
|                 "[readability-identifier-length]", | ||||
|                 "[misc-use-anonymous-namespace]" | ||||
|               ], | ||||
|               "score": 2 | ||||
|             }, | ||||
|             { | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue
	
	Block a user