mirror of
https://github.com/super-linter/super-linter.git
synced 2024-11-25 18:20:57 -05:00
Fix editorconfig-checker errors
This commit is contained in:
parent
b7e5dfce01
commit
4b92c25a4b
17 changed files with 81 additions and 79 deletions
|
@ -1,6 +1,6 @@
|
||||||
(ns foo
|
(ns foo
|
||||||
(:require
|
(:require
|
||||||
[clojure.string :as str]))
|
[clojure.string :as str]))
|
||||||
|
|
||||||
(butlast [1 2 3])
|
(butlast [1 2 3])
|
||||||
|
|
||||||
|
@ -11,8 +11,8 @@
|
||||||
(y)))
|
(y)))
|
||||||
|
|
||||||
(letfn
|
(letfn
|
||||||
[(f [g] (h g))
|
[(f [g] (h g))
|
||||||
(h [i] (f i))])
|
(h [i] (f i))])
|
||||||
|
|
||||||
(defn foo [] 1)
|
(defn foo [] 1)
|
||||||
(inc (foo))
|
(inc (foo))
|
||||||
|
|
|
@ -1,35 +1,35 @@
|
||||||
{
|
{
|
||||||
"AWSTemplateFormatVersion": "2010-09-09",
|
"AWSTemplateFormatVersion": "2010-09-09",
|
||||||
"Description": "A sample template",
|
"Description": "A sample template",
|
||||||
"Resources": {
|
"Resources": {
|
||||||
"DNS": {
|
"DNS": {
|
||||||
"Type": "AWS::Route53::HostedZone",
|
"Type": "AWS::Route53::HostedZone",
|
||||||
"Properties": {
|
"Properties": {
|
||||||
"HostedZoneConfig": {
|
"HostedZoneConfig": {
|
||||||
"Comment": "Myhostedzoneforexample.com"
|
"Comment": "Myhostedzoneforexample.com"
|
||||||
},
|
},
|
||||||
"Name": "example.com",
|
"Name": "example.com",
|
||||||
"VPCs": [
|
"VPCs": [
|
||||||
{
|
{
|
||||||
"VPCId": "vpc-abcd1234",
|
"VPCId": "vpc-abcd1234",
|
||||||
"VPCRegion": "ap-northeast-1"
|
"VPCRegion": "ap-northeast-1"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"VPCId": "vpc-efgh5678",
|
"VPCId": "vpc-efgh5678",
|
||||||
"VPCRegion": "us-west-2"
|
"VPCRegion": "us-west-2"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"HostedZoneTags": [
|
"HostedZoneTags": [
|
||||||
{
|
{
|
||||||
"Key": "SampleKey1",
|
"Key": "SampleKey1",
|
||||||
"Value": "SampleValue1"
|
"Value": "SampleValue1"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"Key": "SampleKey2",
|
"Key": "SampleKey2",
|
||||||
"Value": "SampleValue2"
|
"Value": "SampleValue2"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,16 +1,16 @@
|
||||||
{
|
{
|
||||||
"Resources" : {
|
"Resources": {
|
||||||
"myDNSRecord" : {
|
"myDNSRecord": {
|
||||||
"Type" : "AWS::Route53::RecordSet",
|
"Type": "AWS::Route53::RecordSet",
|
||||||
"Properties" : {
|
"Properties": {
|
||||||
"HostedZoneId" : "Z8VLZEXAMPLE",
|
"HostedZoneId": "Z8VLZEXAMPLE",
|
||||||
"Name" : "test.example.com",
|
"Name": "test.example.com",
|
||||||
"ResourceRecords" : [
|
"ResourceRecords": [
|
||||||
"192.0.2.99"
|
"192.0.2.99"
|
||||||
],
|
],
|
||||||
"TTL" : 300,
|
"TTL": 300,
|
||||||
"Type" : "A"
|
"Type": "A"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -62,8 +62,8 @@ module.exports = (robot) ->
|
||||||
# Drop the hammer #
|
# Drop the hammer #
|
||||||
###################
|
###################
|
||||||
robot.respond /drop the hammer/i, (msg) ->
|
robot.respond /drop the hammer/i, (msg) ->
|
||||||
msg.send "Commencing the hammer dropping..."
|
msg.send "Commencing the hammer dropping..."
|
||||||
msg.send msg.random dropHammer
|
msg.send msg.random dropHammer
|
||||||
|
|
||||||
###############
|
###############
|
||||||
# Vape Nation #
|
# Vape Nation #
|
||||||
|
|
|
@ -3,5 +3,5 @@ package main
|
||||||
import "fmt"
|
import "fmt"
|
||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
fmt.Println("hello world")
|
fmt.Println("hello world")
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
class Example {
|
class Example {
|
||||||
static void main(String[] args) {
|
static void main(String[] args) {
|
||||||
File file = new File("E:/Example.txt")
|
File file = new File("E:/Example.txt")
|
||||||
println "The file ${file.absolutePath} has ${file.length()} bytes"
|
println "The file ${file.absolutePath} has ${file.length()} bytes"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,10 +1,13 @@
|
||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html lang="en">
|
<html lang="en">
|
||||||
<head>
|
|
||||||
<meta charset="UTF-8">
|
<head>
|
||||||
<title>Document</title>
|
<meta charset="UTF-8">
|
||||||
</head>
|
<title>Document</title>
|
||||||
<body>
|
</head>
|
||||||
Good HTML!
|
|
||||||
</body>
|
<body>
|
||||||
|
Good HTML!
|
||||||
|
</body>
|
||||||
|
|
||||||
</html>
|
</html>
|
|
@ -115,7 +115,7 @@ Is this an `example', or is it an `example'.
|
||||||
%Indexing text \index{text} is fun!
|
%Indexing text \index{text} is fun!
|
||||||
Indexing text\index{text} is fun!
|
Indexing text\index{text} is fun!
|
||||||
Indexing text%
|
Indexing text%
|
||||||
\index{text} is fun!
|
\index{text} is fun!
|
||||||
%Indexing text
|
%Indexing text
|
||||||
% \index{text} is fun!
|
% \index{text} is fun!
|
||||||
|
|
||||||
|
|
|
@ -1,12 +1,12 @@
|
||||||
local embracer = {}
|
local embracer = {}
|
||||||
|
|
||||||
local function helper()
|
local function helper()
|
||||||
-- NYI wontfix
|
-- NYI wontfix
|
||||||
end
|
end
|
||||||
|
|
||||||
function embracer.embrace(opt)
|
function embracer.embrace(opt)
|
||||||
opt = opt or "default"
|
opt = opt or "default"
|
||||||
return helper(opt.."?")
|
return helper(opt.."?")
|
||||||
end
|
end
|
||||||
|
|
||||||
return embracer
|
return embracer
|
||||||
|
|
|
@ -11,4 +11,3 @@ function BadFunction {
|
||||||
'Empty Catch Block'
|
'Empty Catch Block'
|
||||||
} catch {}
|
} catch {}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue