-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathlint-report.json
132 lines (132 loc) · 5.41 KB
/
lint-report.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
{
"configuration": {
"paths": [
"test_code"
],
"projectType": "sketch",
"recursive": false
},
"projects": [
{
"path": "test_code",
"projectType": "sketch",
"configuration": {
"compliance": "specification",
"libraryManager": "false",
"official": false
},
"rules": [
{
"category": "structure",
"subcategory": "root folder",
"ID": "SS001",
"brief": "name mismatch",
"description": "There is no `.ino` sketch file with name matching the sketch folder. The primary sketch file name must match the folder for the sketch to be valid.",
"result": "pass",
"level": "NOTICE",
"message": ""
},
{
"category": "structure",
"subcategory": "file name",
"ID": "SS002",
"brief": "prohibited character in filename",
"description": "A sketch file's name contains a prohibited character.",
"result": "pass",
"level": "NOTICE",
"message": ""
},
{
"category": "structure",
"subcategory": "file name",
"ID": "SS003",
"brief": "file name too long",
"description": "The sketch file's name exceeds the maximum length.",
"result": "pass",
"level": "NOTICE",
"message": ""
},
{
"category": "structure",
"subcategory": "file name",
"ID": "SS004",
"brief": ".pde extension",
"description": "A sketch file uses the deprecated `.pde` file extension. The .pde extension is used by both [Processing](https://processing.org/) sketches and Arduino sketches. If the project has supplemental Processing sketches, they should either be in the [`data` subfolder of the sketch](https://arduino.github.io/arduino-cli/latest/sketch-specification/#data-subfolder) or in the [`extras` folder of the library](https://arduino.github.io/arduino-cli/latest/library-specification/#extra-documentation). Arduino sketches should use the modern `.ino` extension.",
"result": "pass",
"level": "NOTICE",
"message": ""
},
{
"category": "structure",
"subcategory": "miscellaneous",
"ID": "SS005",
"brief": "src folder case",
"description": "The sketch's source subfolder name has incorrect case. This folder must be named exactly `src` in order for the contents to be compiled on case sensitive file systems (e.g., Linux).",
"result": "pass",
"level": "NOTICE",
"message": ""
},
{
"category": "code",
"subcategory": "miscellaneous",
"ID": "SC001",
"brief": "Arduino.h case",
"description": "An `#include` directive for a file matching the standardized Arduino core library's `Arduino.h` header in all except case (e.g., `#include <arduino.h>`) was found in the sketch's code. This causes compilation failure on case-sensitive file systems.",
"result": "pass",
"level": "NOTICE",
"message": ""
},
{
"category": "documentation",
"subcategory": "miscellaneous",
"ID": "SD001",
"brief": "no readme",
"description": "None of the standard README file names (e.g., `README.md`) were found in the sketch folder. This file provides interested parties with a convenient and standardized location to get information about the project.",
"result": "fail",
"level": "WARNING",
"message": "No readme found. Please document your sketch.\nSee: https://docs.github.com/repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/about-readmes"
},
{
"category": "documentation",
"subcategory": "miscellaneous",
"ID": "SD002",
"brief": "no license file",
"description": "None of the standard license file names (e.g., `LICENSE.txt`) were found in the sketch's root folder. This file provides interested parties with a convenient and standardized location to get information about the project's licensing and is also used by GitHub for automatic license type classification.",
"result": "fail",
"level": "WARNING",
"message": "No license file found.\nSee: https://docs.github.com/repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/licensing-a-repository"
},
{
"category": "sketch.json",
"subcategory": "general",
"ID": "SM001",
"brief": "sketch.json JSON format",
"description": "The sketch's `sketch.json` metadata file is not a valid JSON document.",
"result": "skipped",
"level": "NOTICE",
"message": "No metadata file"
},
{
"category": "sketch.json",
"subcategory": "general",
"ID": "SM002",
"brief": "sketch.json data format",
"description": "The sketch's `sketch.json` metadata file does not have a valid data format.",
"result": "skipped",
"level": "NOTICE",
"message": "No metadata file"
}
],
"summary": {
"pass": true,
"warningCount": 2,
"errorCount": 0
}
}
],
"summary": {
"pass": true,
"warningCount": 2,
"errorCount": 0
}
}