Merge pull request #929 from jdsutherland/solium-solidity-linter
Add solidity linter: solium
This commit is contained in:
		
						commit
						677263f115
					
				@ -131,6 +131,7 @@ formatting.
 | 
				
			|||||||
| Scala | [scalac](http://scala-lang.org), [scalastyle](http://www.scalastyle.org) |
 | 
					| Scala | [scalac](http://scala-lang.org), [scalastyle](http://www.scalastyle.org) |
 | 
				
			||||||
| Slim | [slim-lint](https://github.com/sds/slim-lint)
 | 
					| Slim | [slim-lint](https://github.com/sds/slim-lint)
 | 
				
			||||||
| SML | [smlnj](http://www.smlnj.org/) |
 | 
					| SML | [smlnj](http://www.smlnj.org/) |
 | 
				
			||||||
 | 
					| Solidity | [solium](https://github.com/duaraghav8/Solium) |
 | 
				
			||||||
| Stylus | [stylelint](https://github.com/stylelint/stylelint) |
 | 
					| Stylus | [stylelint](https://github.com/stylelint/stylelint) |
 | 
				
			||||||
| SQL | [sqlint](https://github.com/purcell/sqlint) |
 | 
					| SQL | [sqlint](https://github.com/purcell/sqlint) |
 | 
				
			||||||
| Swift | [swiftlint](https://github.com/realm/SwiftLint), [swiftformat](https://github.com/nicklockwood/SwiftFormat) |
 | 
					| Swift | [swiftlint](https://github.com/realm/SwiftLint), [swiftformat](https://github.com/nicklockwood/SwiftFormat) |
 | 
				
			||||||
 | 
				
			|||||||
							
								
								
									
										9
									
								
								ale_linters/solidity/solium.vim
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										9
									
								
								ale_linters/solidity/solium.vim
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,9 @@
 | 
				
			|||||||
 | 
					" Author: Jeff Sutherland - https://github.com/jdsutherland
 | 
				
			||||||
 | 
					" Description: Report errors in Solidity code with solium
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					call ale#linter#Define('solidity', {
 | 
				
			||||||
 | 
					\   'name': 'solium',
 | 
				
			||||||
 | 
					\   'executable': 'solium',
 | 
				
			||||||
 | 
					\   'command': 'solium --reporter gcc --file %t',
 | 
				
			||||||
 | 
					\   'callback': 'ale#handlers#gcc#HandleGCCFormat',
 | 
				
			||||||
 | 
					\})
 | 
				
			||||||
							
								
								
									
										16
									
								
								doc/ale-solidity.txt
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										16
									
								
								doc/ale-solidity.txt
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,16 @@
 | 
				
			|||||||
 | 
					===============================================================================
 | 
				
			||||||
 | 
					ALE Solidity Integration                                 *ale-solidity-options*
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					===============================================================================
 | 
				
			||||||
 | 
					solium                                                    *ale-solidity-solium*
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  Use of Solium linter for Solidity source code requires a .soliumrc.json
 | 
				
			||||||
 | 
					  file in project root. This file can be generated by running `solium --init`.
 | 
				
			||||||
 | 
					  See the corresponding solium usage for detailed instructions
 | 
				
			||||||
 | 
					  (https://github.com/duaraghav8/Solium#usage).
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					===============================================================================
 | 
				
			||||||
 | 
					  vim:tw=78:ts=2:sts=2:sw=2:ft=help:norl:
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@ -146,6 +146,8 @@ CONTENTS                                                         *ale-contents*
 | 
				
			|||||||
      shellcheck..........................|ale-sh-shellcheck|
 | 
					      shellcheck..........................|ale-sh-shellcheck|
 | 
				
			||||||
    sml...................................|ale-sml-options|
 | 
					    sml...................................|ale-sml-options|
 | 
				
			||||||
      smlnj...............................|ale-sml-smlnj|
 | 
					      smlnj...............................|ale-sml-smlnj|
 | 
				
			||||||
 | 
					    solidity..............................|ale-solidity-options|
 | 
				
			||||||
 | 
					      solium..............................|ale-solidity-solium|
 | 
				
			||||||
    spec..................................|ale-spec-options|
 | 
					    spec..................................|ale-spec-options|
 | 
				
			||||||
      rpmlint.............................|ale-spec-rpmlint|
 | 
					      rpmlint.............................|ale-spec-rpmlint|
 | 
				
			||||||
    stylus................................|ale-stylus-options|
 | 
					    stylus................................|ale-stylus-options|
 | 
				
			||||||
@ -275,6 +277,7 @@ Notes:
 | 
				
			|||||||
* Scala: `scalac`, `scalastyle`
 | 
					* Scala: `scalac`, `scalastyle`
 | 
				
			||||||
* Slim: `slim-lint`
 | 
					* Slim: `slim-lint`
 | 
				
			||||||
* SML: `smlnj`
 | 
					* SML: `smlnj`
 | 
				
			||||||
 | 
					* Solidity: `solium`
 | 
				
			||||||
* Stylus: `stylelint`
 | 
					* Stylus: `stylelint`
 | 
				
			||||||
* SQL: `sqlint`
 | 
					* SQL: `sqlint`
 | 
				
			||||||
* Swift: `swiftlint`, `swiftformat`
 | 
					* Swift: `swiftlint`, `swiftformat`
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user