| { |
| "mappings": [ |
| { |
| "keywords": ["."], |
| "comment": "check test snapshot or result have been added into github desc" |
| }, |
| { |
| "keywords": ["CSVRelPath"], |
| "comment": "check if the data in e2e/*.csv is simple and complete. (No duplicated data but cover all type of data)" |
| }, |
| { |
| "keywords": ["const RAW_"], |
| "comment": "RAW_TABLE use correct in extractor and convertor" |
| }, |
| { |
| "keywords": ["DomainTypes:"], |
| "comment": "DomainTypes filled with correct value" |
| }, |
| { |
| "keywords": ["fmt.Printf"], |
| "comment": "check if debug code deleted" |
| }, |
| { |
| "keywords": ["IdGen.Generate"], |
| "comment": "check if all primary and foreign id use `IdGen.Generate`" |
| }, |
| { |
| "keywords": ["errors.HttpStatus("], |
| "comment": "check if http status code (`errors.HttpStatus`) correct" |
| }, |
| { |
| "keywords": ["db.Cursor", "db.RawCursor", "dal.Cursor"], |
| "comment": "check if `db.Cursor` close" |
| }, |
| { |
| "keywords": ["gorm:\"primaryKey\""], |
| "comment": "check if primary key in model not duplicated and check if migration added when primary key changed" |
| }, |
| { |
| "keywords": ["PageSize:"], |
| "comment": "check if `PageSize` set but not used" |
| }, |
| { |
| "keywords": ["collectorWithState.IsIncremental", "Incremental:"], |
| "comment": "check if collector is incremental when `Incremental` is true" |
| } |
| ] |
| } |