Commit graph

138 commits

Author SHA1 Message Date
Lucas Gravley
ae13786085 now with it saved 2020-06-23 07:59:14 -05:00
sayboras
21c3bb86e9
feat(config): Add support for LINTER_PATH param
To add support for LINT_PATH param. This will make super-lint more
usable for existing projects, which might have lint rule file in
other location. The default value is still .github/lints.

Closes #161
2020-06-21 09:41:37 +10:00
Philip Mallegol-Hansen
ea7a07f1d3 Add missing closing curly brackets 2020-06-19 16:13:19 -07:00
Lukas Gravley
542b6f09d3
Merge pull request #194 from github/envLint
Add dotenv-linter support to super-linter
2020-06-19 13:08:16 -05:00
Lukas Gravley
98650b24d5
Merge branch 'master' into disableFlag 2020-06-19 12:42:19 -05:00
Lucas Gravley
2f7f03efe3 fixing logic 2020-06-19 12:39:08 -05:00
Artem Medvedev
df54ef2137 Add dotenv-linter support to super-linter (#173) 2020-06-19 20:32:07 +03:00
Zack Koppert
511481e0c9
Merge branch 'master' into stylelint-support 2020-06-19 08:09:47 -07:00
Zack Koppert
8d6ac3b5a1
Merge pull request #186 from github/defaultWorkspace
Default workspace
2020-06-19 08:03:12 -07:00
Lukas Gravley
0390ed63ea
Merge branch 'master' into staging 2020-06-19 09:13:27 -05:00
Jason Lenny
d20d93fec3
Allow for workspace location to be provided by the end user
This will give more flexibility to anyone who doesn't happen to keep their files in /tmp/lint.
2020-06-19 11:47:45 +02:00
Antoine Leblanc
2751fb19a9
Minor brand wording change
Rename Github to GitHub.

Signed-off-by: Antoine Leblanc <ant.leblanc@gmail.com>
2020-06-19 07:44:26 +02:00
altanstalker
2cf1ae7cd8 Add stylelint support to super-linter
Added tests

Updated readme with usage notes (disabling lines etc) to match existing
content
2020-06-18 21:38:24 -04:00
Philip Mallegol-Hansen
33c2dd57f7 Update explicit references to master
Wherever the script previously used the master branch, we now substitute our DEFAULT_BRANCH variable.

We also create this variable at the beginning of the script, and default it to master if no value was passed in.
2020-06-18 14:04:41 -07:00
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