Commit graph

374 commits

Author SHA1 Message Date
Sean Killeen
dc881c2d1a
Update lib/linter.sh 2020-06-18 16:47:52 -04:00
Sean Killeen
95af99a134
Update lib/linter.sh 2020-06-18 16:47:05 -04:00
Sean Killeen
49c6b4fa7d
Update lib/linter.sh 2020-06-18 15:26:21 -04:00
Sean Killeen
cf8b1eddfe
Update lib/linter.sh 2020-06-18 15:25:54 -04:00
Sean Killeen
ff19ebe77d
exit early if errors are disabled 2020-06-18 15:24:47 -04:00
Sean Killeen
2338c2c98e
Parse DEFAULT_ERRORS variable 2020-06-18 15:22:13 -04:00
Sean Killeen
4d2b216eaf
Add variable and default 2020-06-18 15:17:59 -04:00
Zack Koppert
f269b85ebe
Remove init of DEFAULT_VALIDATE_LANGUAGE
var is no longer in use
2020-06-16 15:22:54 -07:00
Philip Mallegol-Hansen
8b08dbbdf0 Migrate remaining linter options
The remaining linters are all enabled/disabled based on the same logic implemented previously for YAML and JSON.
2020-06-12 14:53:02 -07:00
Philip Mallegol-Hansen
b3dc7159a9 Adds JSON to new structure
We implement the same structure for reading the flag with the JSON parser.
2020-06-12 10:42:31 -07:00
Philip Mallegol-Hansen
dbfdea2ff3 Implement restructured flag parsing
We implement the new method of determining if the YAML linter should be enabled, which takes into account if any linters have been explicitly enabled.

Currently we only implement this for YAML as a testbed.
2020-06-12 10:39:38 -07:00
Lucas Gravley
41bfd24d3d better 2020-05-07 07:30:12 -05:00
John Wiebalk
85b33a56f8
set path for possum 2020-05-06 11:27:45 -04:00
Lucas Gravley
55a8c200d3 with teeth 2020-05-06 10:03:06 -05:00
John Wiebalk
4358e9cf5a add better shebang 2020-05-06 10:39:26 -04:00
John Wiebalk
f7733b4a14 add shebang 2020-05-06 10:39:04 -04:00
John Wiebalk
2b4205634d try as shell 2020-05-06 10:36:33 -04:00
Thomas Hughes
8dc5b30dee
Add better possum 2020-05-06 09:27:22 -05:00
Lucas Gravley
91f67bf0d3 it hates the possum 2020-04-30 11:42:34 -05:00
Lucas Gravley
afbbac9b60 Adding cleanup 2020-04-30 11:40:22 -05:00
Lucas Gravley
d81238019a adding possum 2020-04-30 11:31:55 -05:00
Lucas Gravley
79878c8ae9 adding more print 2020-04-27 14:55:21 -05:00
Lucas Gravley
619307fe9f get the value 2020-04-27 14:38:43 -05:00
Lucas Gravley
7cb80134b1 Quotes 2020-04-27 14:26:07 -05:00
Lucas Gravley
2db5868fcf make a var? 2020-04-27 14:24:28 -05:00
Lucas Gravley
c6f74369b8 Cleanup footer prints 2020-04-27 14:13:12 -05:00
Lucas Gravley
97c264ca8b fixed more logic issues 2020-04-27 13:47:11 -05:00
Lucas Gravley
1c6d7364d2 Fixing logic for empty array 2020-04-27 13:29:02 -05:00
Lucas Gravley
0d31bcda2c More logic 2020-04-27 13:20:35 -05:00
Lucas Gravley
2a16b17bda Adding the verbosity check 2020-04-27 12:46:05 -05:00
Lucas Gravley
27dd6e71a0 Cleanup git pull data 2020-04-27 12:27:41 -05:00
Lucas Gravley
b616dafd41 Cleanup of linter rules prints: 2020-04-27 12:21:38 -05:00
Lucas Gravley
5bf4295d1e fix debug 2020-04-23 12:14:31 -05:00
Lucas Gravley
835fc6d5f4 more space 2020-04-23 12:11:26 -05:00
Lucas Gravley
7170fe9da5 fix spacing 2020-04-23 12:10:49 -05:00
Lucas Gravley
8f2c59bfe7 Cleanup 2020-04-23 12:07:35 -05:00
Lucas Gravley
e339a967c0 fixed it 2020-04-16 13:23:36 -05:00
Lucas Gravley
7616d271e1 Add detection of bash and ruby 2020-04-16 13:20:05 -05:00
Lucas Gravley
5d279e62db adding debug 2020-04-02 13:22:29 -05:00
Lucas Gravley
14162b9acc adding fixes 2020-04-02 13:06:11 -05:00
Lucas Gravley
c69ee9262b add refs 2020-04-02 12:48:35 -05:00
Lucas Gravley
015adc6c97 adding it up 2020-04-02 12:42:07 -05:00
Lucas Gravley
5c33868fe4 fixed it 2020-03-11 14:21:42 -05:00
Lucas Gravley
6d83c17b1b adding it? 2020-03-11 14:18:21 -05:00
Lucas Gravley
cdd465d9b7 fix linter rules 2020-02-28 10:08:38 -06:00
Lucas Gravley
cb6c6401ef adding it all in 1 push 2020-02-28 09:51:29 -06:00
Lucas Gravley
124b516e6a fix corner case 2020-02-04 15:32:14 -06:00
Lucas Gravley
c03d109494 fixed them cases 2020-02-04 15:20:58 -06:00
Lucas Gravley
fd3c1eed13 fix arrays 2020-02-04 12:20:22 -06:00
Lucas Gravley
b16ac2ad6e adding fixes 2020-02-04 12:01:36 -06:00
Lucas Gravley
3b4ce6f234 fixed it 2020-02-04 11:56:02 -06:00
Lucas Gravley
bc42254fd5 adding test cases and run 2020-02-04 11:49:07 -06:00
Lucas Gravley
2d93ca41f4 fixed that 2020-02-04 09:04:43 -06:00
Lucas Gravley
fc9d45e49d fixing bad cases 2020-02-04 08:56:53 -06:00
Lucas Gravley
7a8ce44eea Adding test cases and logic 2020-02-04 08:49:58 -06:00
Lucas Gravley
0447cd98a5 fix name 2020-02-03 15:28:18 -06:00
Lucas Gravley
ea2ac810ee fixed the bad code? 2020-02-03 14:54:43 -06:00
Lucas Gravley
0666a948d0 fix logic on shift 2020-02-03 10:49:25 -06:00
Lucas Gravley
9367daf4b2 adding correct flag 2020-02-03 10:41:34 -06:00
Lucas Gravley
3bfd689775 major rewrite 2020-02-03 10:27:40 -06:00
Lukas Gravley
8772b098a3
Merge pull request #59 from github/jwiebalk/jsonlint
Also check if GET_VERSION_CMD has been set
2020-02-03 07:53:20 -06:00
Lukas Gravley
730992a68a
Merge pull request #51 from github/jwiebalk/dockerlinter
Add Dockerfile linter
2020-02-03 07:30:55 -06:00
John Wiebalk
c3932a6031 cleanup 2020-01-31 18:26:57 -05:00
John Wiebalk
b282b1fce2 fix # 2020-01-31 18:20:03 -05:00
John Wiebalk
2182df6459 fix comments 2020-01-31 18:19:10 -05:00
John Wiebalk
916f5fe1ed is it really an array? 2020-01-31 18:00:28 -05:00
John Wiebalk
29c9470bb1 remove quotes 2020-01-31 17:55:01 -05:00
John Wiebalk
cfd813cbda check if version is returned 2020-01-31 17:52:28 -05:00
John Wiebalk
70bf36d8f8 switch to repo clone vs npm 2020-01-31 17:24:33 -05:00
Lucas Gravley
59b81361c8 fix linter 2020-01-28 14:40:11 -06:00
Lucas Gravley
bd03602505 adding base code 2020-01-10 13:33:28 -06:00
Lucas Gravley
88deab8ecd fix spaces 2020-01-10 08:16:10 -06:00
John Wiebalk
b12beae67f remove debug statement 2020-01-09 20:10:34 -05:00
John Wiebalk
fe1490cad9 make it actually work 2020-01-09 20:08:31 -05:00
John Wiebalk
6f7cdf20d8 add dockerlint 2020-01-09 17:08:01 -05:00
Lucas Gravley
e2d4484c1f Adding logic 2020-01-09 10:29:18 -06:00
Lucas Gravley
fb583ae43b fix rules 2020-01-08 13:37:02 -06:00
Lucas Gravley
62a5eb7f7e adding version info 2020-01-08 13:34:05 -06:00
Lucas Gravley
eaa647ae58 adding message 2020-01-07 14:46:57 -06:00
Lucas Gravley
c507cf5943 fix mistake 2020-01-07 14:41:12 -06:00
Lucas Gravley
143607bc2e Adding logic to skip ansible on read only 2020-01-07 14:38:05 -06:00
Lucas Gravley
630adf02ad fix rules 2019-12-13 09:10:30 -06:00
Lucas Gravley
1dfe251b36 turn off debug 2019-12-13 08:48:07 -06:00
Lucas Gravley
ddef16596a fixed it? 2019-12-13 08:06:25 -06:00
Lucas Gravley
191324c06b adding path 2019-12-13 07:42:16 -06:00
Lucas Gravley
530e1f781c ignore the rules 2019-12-12 13:52:47 -06:00
Lucas Gravley
aaea65e3d8 remove quotes 2019-12-12 13:51:13 -06:00
Lucas Gravley
f8db5f4cfd Adding debug 2019-12-12 13:40:25 -06:00
Lucas Gravley
806174c090 adding prints 2019-12-12 10:53:27 -06:00
Lucas Gravley
76bd3309a5 dont like that rule 2019-12-12 10:37:08 -06:00
Lucas Gravley
4a6efba060 adding env 2019-12-12 10:34:58 -06:00
Lucas Gravley
9bea822849 fix format 2019-12-06 07:51:40 -06:00
Lucas Gravley
2bdf4c7a29 better? 2019-12-03 15:01:33 -06:00
Lucas Gravley
ad2cb9d6a3 fix command 2019-12-03 14:30:50 -06:00
Lucas Gravley
baf54e084c adding it 2019-12-03 14:29:16 -06:00
Lucas Gravley
ebabe5e931 adding more 2019-12-03 14:07:19 -06:00
Lucas Gravley
90502fda22 Adding it 2019-12-03 14:00:38 -06:00
Lucas Gravley
c86c422f83 Adding it 2019-12-03 14:00:36 -06:00
Lucas Gravley
adfb06cbdc Adding better rules 2019-12-03 13:47:23 -06:00
Lucas Gravley
44d8e01330 fixed it up 2019-11-07 10:27:14 -06:00
Lucas Gravley
3f345dea81 fix mistakes 2019-11-07 08:27:22 -06:00
Lucas Gravley
7ab8090b30 Adding it up 2019-11-07 08:23:17 -06:00
Lucas Gravley
34dd09510b adding js 2019-11-06 15:45:44 -06:00
Lucas Gravley
990bb8fed2 fix ansible 2019-11-06 14:38:34 -06:00
Lukas Gravley
028b102dc4
Merge pull request #11 from github/fixAnsible
fix ansible issue
2019-10-31 10:04:57 -05:00
Lucas Gravley
b3e545d5b8 fix ansible issue 2019-10-31 09:59:46 -05:00
Lucas Gravley
d66a34dc2a removing deleted files 2019-10-29 08:48:10 -05:00
Lucas Gravley
1c03d1d89b cleaned up language 2019-10-28 11:18:05 -05:00
Lucas Gravley
b9c3a16631 quotes 2019-10-28 08:43:57 -05:00
Lucas Gravley
40e60c3d53 quotes 2019-10-28 08:42:27 -05:00
Lucas Gravley
52a30b1170 adding it up 2019-10-25 15:56:04 -05:00
Lucas Gravley
ffd73a80a5 adding more code 2019-10-25 14:25:31 -05:00
Lucas Gravley
a9be7d5520 adding more code 2019-10-25 14:22:57 -05:00
Lucas Gravley
20f1db9ad3 updating code 2019-10-25 11:29:31 -05:00
Lucas Gravley
2b02eeff72 cleanup 2019-10-23 10:42:28 -05:00
Lucas Gravley
b2c9c34e78 cleanup 2019-10-23 10:38:53 -05:00
Lucas Gravley
67ca56bf84 fixed and cleaned folders 2019-10-23 10:23:16 -05:00
Lucas Gravley
5cfc3ac09c fixed code 2019-10-23 10:19:26 -05:00
Lucas Gravley
89309d6582 fixed code 2019-10-23 10:16:17 -05:00
Lucas Gravley
8371d35cb5 fixed code 2019-10-23 09:51:13 -05:00
Lucas Gravley
518dca2ff4 cleanup of scripts 2019-10-22 12:21:42 -05:00
Lucas Gravley
91f6a0fa23 cleaning 2019-10-21 14:12:37 -05:00
Lucas Gravley
9967630273 adding it 2019-10-21 11:05:55 -05:00
Lucas Gravley
c0d6311976 initial commit 2019-10-21 09:12:50 -05:00