Lucas Gravley
efb491d6cf
fixed protobuf var
...
Co-authored-by: Thomas Hughes <iamhughes@github.com>
Co-authored-by: John Wiebalk <jwiebalk@github.com>
2020-06-29 12:52:36 -05:00
Lucas Gravley
4ccd6b35c9
fixed bug
2020-06-29 10:43:52 -05:00
Lucas Gravley
4194a7a611
cleaner
2020-06-29 10:34:23 -05:00
Lucas Gravley
679ecf3b1a
lets be literal
2020-06-29 10:15:39 -05:00
Lucas Gravley
b90310f2a8
fix path
2020-06-29 10:06:12 -05:00
Lucas Gravley
701abcc065
creating files
2020-06-29 09:55:59 -05:00
Lukas Gravley
54ae156900
Merge pull request #304 from github/FixVSCodeDebug
...
Fix vs code debug
2020-06-29 09:25:14 -05:00
Lucas Gravley
f6ebe07228
Merge branch 'master' into FixVSCodeDebug
2020-06-29 09:02:06 -05:00
Lucas Gravley
96b1e93522
Merge branch 'master' into Protolinter
2020-06-29 08:27:20 -05:00
Lukas Gravley
bf52a83423
Merge pull request #302 from github/fixClojure
...
Read Clojure filetypes from $FILE_TYPE, not $FILE
2020-06-29 08:22:11 -05:00
Victor Martinez
7cf73e5dc5
Merge branch 'master' into feature/tap-format
2020-06-29 11:08:40 +01:00
Søren Knudsen
a4fa97234a
Read Clojure filetypes from $FILE_TYPE, not $FILE
2020-06-29 09:07:40 +02:00
Victor Martinez
030c23766f
fix: typo
2020-06-29 07:48:51 +01:00
yoheimuta
fb90d79524
Add protolint support to super-linter
2020-06-28 20:17:08 +09:00
Drew Ayling
d155ff2a3c
Fix honoring pylint config file
...
The pylint config file is correctly being applied to
the pylint command, however, the `-E` flag is actually
not honoring any of the disabled messages in the
`.python-lint` file. By making this change to the
default lint file only the errors are output as expected
but honoring the disabled messages. Also, disable the score
as the -E flag also does.
2020-06-26 17:13:24 -06:00
Guillaume Delacour
234f8f9363
Remove unnecessary comment
2020-06-26 22:09:44 +02:00
Guillaume Delacour
eb8cf40bf5
Improve template detection
2020-06-26 21:52:40 +02:00
Guillaume Delacour
f1d1b1cbe2
Add AWS CloudFormation templates linting
2020-06-26 21:52:38 +02:00
Lucas Gravley
d8608a6cf1
solve name
2020-06-26 14:21:37 -05:00
Lucas Gravley
10a7c9c479
Adding cleaner update
2020-06-26 11:49:41 -05:00
Lucas Gravley
dc5df73afc
Merge branch 'master' into EsConfig
2020-06-26 11:44:54 -05:00
Lucas Gravley
d572447287
Adding space support
2020-06-26 10:38:02 -05:00
Lucas Gravley
f087775d99
typo
2020-06-26 09:00:28 -05:00
Lucas Gravley
8fdce000bf
got to catch them all
2020-06-26 08:44:27 -05:00
Lucas Gravley
116698b032
fixed linting errors
2020-06-26 08:26:36 -05:00
Lukas Gravley
625841f40f
Merge branch 'master' into OpenAPI
2020-06-26 08:19:10 -05:00
Lukas Gravley
910901a3bb
Merge pull request #256 from github/ClojureLint
...
Clojure lint
2020-06-26 07:38:36 -05:00
past-due
70f51ccd8f
Add JAVASCRIPT_ES_CONFIG_FILE to specify eslintrc filename
...
See: https://eslint.org/docs/user-guide/configuring#configuration-file-formats
2020-06-25 23:02:07 -04:00
Justin Kalland
37f6828d1e
Fix OpenAPI tests being run by JSON & YAML
...
Tests are run by file extension. The [JSON] and [YAML] tests were running the _bad_ [OPENAPI] tests and expecting them to fail.
For [OPENAPI] the _bad_ tests are syntactically good JSON/YAML but bad OAS.
2020-06-25 11:49:09 +02:00
Justin Kalland
eac560b35b
Add support for OpenAPI
2020-06-25 08:13:19 +02:00
Victor Martinez
dd3a792f27
Use isTap function and fix the output format
2020-06-24 22:58:45 +01:00
Victor Martinez
c26c3ddf8e
TAP 13 specification
...
See https://testanything.org/tap-version-13-specification.html
2020-06-24 22:49:12 +01:00
Victor Martinez
6b16354901
TAP Format
2020-06-24 22:45:44 +01:00
Zack Koppert
26d2ec1d2a
Merge pull request #193 from JustinGrote/dev/vsCodeHelpers
...
Dev: Add Visual Studio Code + Github Codespaces Support
2020-06-24 14:37:08 -07:00
Lucas Gravley
d6b1e51212
Merge branch 'master' into SpellingCheck
2020-06-24 15:43:23 -05:00
Gabo
3333b23249
Fix @admiralawkbar capitalization
2020-06-24 11:47:47 -05:00
Lucas Gravley
b26f7eda6d
fixed command
2020-06-24 09:51:16 -05:00
Lucas Gravley
97612aab7e
put it back, its magic
2020-06-24 08:12:53 -05:00
Lucas Gravley
d9c21f2599
Adding ansible
2020-06-24 07:58:27 -05:00
Lucas Gravley
26f16f42cb
fixed ansible and powershell
2020-06-24 07:45:11 -05:00
Gabo
e15a4dc174
Add check spelling workflow
...
test bucket variable
Add empty expect words
add procjet varaible
Add excludes file
add patters for urls
Add newline at eof
Changing lorem ipsum for proper words
Add admiralawkbar to expected words
Exclude lint templates files
Add api apk and ansible as expected words
add expected words for cleanup-docker.sh
add expected words for ghe-config-apply.sh
Fix add-ons spelling
Add a bunch new words
Simpler url pattern
Use common baz word
Fix coffeescript spelling
Add expected words for ghe-api-config-apply.yml
Add ecpected words for linter.sh
Fix Multi-line spelling
Add more linter.sh expected words
Add a whole lot of expected words
Add pattern for repeated single char
Add space
Add expected words for Dockerfile
Add more expected words for ghe-api-config-apply.yml
Add expected words for he-initial-configuration.yml
Add expected words for ghe-ldap-configuration.yml
Move spelling/expect -> spelling/allow
Set workflow name
Fix @admiralawkbar capitalization
Fix requirements spelling
Add last docker allow words
Add last ghe-config-apply allow words
Add last linter.sh allow words
add last general allow words
Add .gitignore allow words
Add main.yml allow words
Add settings.json.j2 allow words
Add empty expect words
Test gitignore.txt
Fix patter for repeated chars
Add some more allowed words
more words
Add disabling-linters.md allow words
commit
2020-06-23 16:42:22 -05:00
Alexis La Goutte
52d6e690b2
linter.sh: fix align
...
After Powershell PR
2020-06-23 22:18:46 +02:00
Lucas Gravley
82af32982d
Merge branch 'ClojureLint' of https://github.com/github/super-linter into ClojureLint
2020-06-23 12:46:23 -05:00
Lucas Gravley
b922ece707
found missing var
2020-06-23 12:45:57 -05:00
Lukas Gravley
7f08d221d0
Merge branch 'master' into ClojureLint
2020-06-23 12:42:00 -05:00
Eric Nemchik
60a6b9eb63
Use portable shebang
2020-06-23 11:02:45 -05:00
Victor Martinez
40687fc6db
Enable ansible linter in TAP format
2020-06-23 15:40:43 +01:00
Victor Martinez
ddbc96bd23
Support TAP reporting format
2020-06-23 15:25:12 +01:00
Lucas Gravley
10c6787b1e
fixed collision
2020-06-23 08:28:38 -05:00
Lucas Gravley
45d56b2ab8
fixed conflict
2020-06-23 08:25:28 -05:00
Lucas Gravley
8ee90e6e35
fixed var name
2020-06-23 08:23:14 -05:00
Lukas Gravley
7c3fb97793
Merge branch 'master' into linterRules
2020-06-23 08:19:02 -05:00
Lucas Gravley
ae13786085
now with it saved
2020-06-23 07:59:14 -05:00
Lukas Gravley
f5dc615025
Merge branch 'master' into issue/111
2020-06-22 16:10:08 -05:00
Lukas Gravley
3a106aae21
Merge branch 'master' into kotlinSupport
2020-06-22 15:33:54 -05:00
Lukas Gravley
ac53da7a28
Merge branch 'master' into phpLint
2020-06-22 14:24:06 -05:00
Lukas Gravley
02f03f5a20
Merge branch 'master' into BetterEnv
2020-06-22 14:10:11 -05:00
Lukas Gravley
e7d5365da1
Merge branch 'master' into BetterEnv
2020-06-22 14:02:57 -05:00
Cees-Jan Kiewiet
f7ca82806f
Add PHP linting foundation
2020-06-22 20:47:00 +02:00
Lucas Gravley
714855e739
fixing quotes
2020-06-22 13:12:26 -05:00
Lucas Gravley
d7d3e72739
testing
2020-06-22 12:56:35 -05:00
Lucas Gravley
107387d10a
fixing order
2020-06-22 12:27:54 -05:00
Lucas Gravley
64dba67f88
fixed error codes
2020-06-22 12:16:32 -05:00
Lucas Gravley
32232a2442
fixed quotes
2020-06-22 11:35:31 -05:00
Lucas Gravley
209529d93b
cleanup
2020-06-22 11:16:45 -05:00
Lucas Gravley
dc7137b504
add all file types
2020-06-22 10:58:52 -05:00
Lucas Gravley
1ecb355954
fixed pathing
2020-06-22 10:36:06 -05:00
Lucas Gravley
5bbaf3f5a0
convert to more command line style
2020-06-22 10:29:34 -05:00
Lucas Gravley
2d72752496
fix loops
2020-06-22 08:23:46 -05:00
Lucas Gravley
96242befa3
fixed or statement
2020-06-22 08:20:50 -05:00
Lukas Gravley
6682f87622
Merge branch 'master' into PowershellSupport
2020-06-22 08:16:59 -05:00
goedelsoup
5063d7cb6c
fix clojure file regex
2020-06-22 08:39:32 -04:00
Grachev Mikhail
081e267c15
Add support more variants names of env files
...
Update linter.sh
Update Dockerfile
Update linter.sh
2020-06-22 10:37:20 +03:00
Zack Koppert
89c4dd233a
Merge pull request #217 from ntchambers/pipe-fix
...
Turn the pipe operator into the proper or operator
2020-06-21 11:18:56 -07:00
Cory Parent
76e352bd4c
Merge branch 'master' into issue/111
2020-06-21 11:16:58 -04:00
Wonjun Kim
037865ec11
Add kotlin support to super-linter
2020-06-21 17:49:34 +09:00
Josh Soref
b283656177
spelling: whitespace
2020-06-21 00:03:30 -04:00
Josh Soref
0408343139
spelling: typescript
2020-06-21 00:00:46 -04:00
Josh Soref
566cd3d557
spelling: languages
2020-06-20 23:55:10 -04:00
Josh Soref
8ec0bd8f61
spelling: iterate
2020-06-20 23:54:43 -04:00
Josh Soref
44cade9161
spelling: commits
2020-06-20 23:50:46 -04:00
Josh Soref
246396b570
spelling: changeset
2020-06-20 23:50:18 -04:00
Josh Soref
e4fecc1c8d
spelling: against
2020-06-20 23:49:32 -04: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
Nicholas Chambers
502883f224
Turn the pipe operator into the proper or operator
2020-06-20 12:51:24 -05:00
Philip Mallegol-Hansen
ea7a07f1d3
Add missing closing curly brackets
2020-06-19 16:13:19 -07:00
Justin Grote
507afd74a7
Move to separate pwshlint script for better handling
2020-06-19 14:18:27 -07:00
Justin Grote
62fe1b7b41
Add Powershell to Linter
2020-06-19 14:18:26 -07:00
Justin Grote
d39d5c62ff
Powershell Initial Commit
2020-06-19 14:18:26 -07:00
Cory Parent
c1d579cf15
Merge branch 'master' into issue/111
2020-06-19 14:39:44 -04:00
goedelsoup
69b98486a3
fix typo in variable name
2020-06-19 14:31:50 -04:00
goedelsoup
574bef0b3c
Add support for Clojure with clj-kondo
2020-06-19 14:30:28 -04: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
Justin Grote
90a1f525b0
Feat: Make GITHUB_WORKSPACE overridable in RUN_LOCAL Mode
2020-06-19 17:31:53 +00: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
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
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