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