Fix editorconfig-checker errors

This commit is contained in:
Marco Ferrari 2020-11-06 23:18:48 +01:00
parent b7e5dfce01
commit 4b92c25a4b
17 changed files with 81 additions and 79 deletions

View file

@ -1,6 +1,6 @@
(ns foo
(:require
[clojure.string :as str]))
[clojure.string :as str]))
(butlast [1 2 3])
@ -11,8 +11,8 @@
(y)))
(letfn
[(f [g] (h g))
(h [i] (f i))])
[(f [g] (h g))
(h [i] (f i))])
(defn foo [] 1)
(inc (foo))

View file

@ -1,35 +1,35 @@
{
"AWSTemplateFormatVersion": "2010-09-09",
"Description": "A sample template",
"Resources": {
"DNS": {
"Type": "AWS::Route53::HostedZone",
"Properties": {
"HostedZoneConfig": {
"Comment": "Myhostedzoneforexample.com"
},
"Name": "example.com",
"VPCs": [
{
"VPCId": "vpc-abcd1234",
"VPCRegion": "ap-northeast-1"
},
{
"VPCId": "vpc-efgh5678",
"VPCRegion": "us-west-2"
}
],
"HostedZoneTags": [
{
"Key": "SampleKey1",
"Value": "SampleValue1"
},
{
"Key": "SampleKey2",
"Value": "SampleValue2"
}
]
}
}
}
"AWSTemplateFormatVersion": "2010-09-09",
"Description": "A sample template",
"Resources": {
"DNS": {
"Type": "AWS::Route53::HostedZone",
"Properties": {
"HostedZoneConfig": {
"Comment": "Myhostedzoneforexample.com"
},
"Name": "example.com",
"VPCs": [
{
"VPCId": "vpc-abcd1234",
"VPCRegion": "ap-northeast-1"
},
{
"VPCId": "vpc-efgh5678",
"VPCRegion": "us-west-2"
}
],
"HostedZoneTags": [
{
"Key": "SampleKey1",
"Value": "SampleValue1"
},
{
"Key": "SampleKey2",
"Value": "SampleValue2"
}
]
}
}
}
}

View file

@ -1,16 +1,16 @@
{
"Resources" : {
"myDNSRecord" : {
"Type" : "AWS::Route53::RecordSet",
"Properties" : {
"HostedZoneId" : "Z8VLZEXAMPLE",
"Name" : "test.example.com",
"ResourceRecords" : [
"192.0.2.99"
],
"TTL" : 300,
"Type" : "A"
}
}
}
"Resources": {
"myDNSRecord": {
"Type": "AWS::Route53::RecordSet",
"Properties": {
"HostedZoneId": "Z8VLZEXAMPLE",
"Name": "test.example.com",
"ResourceRecords": [
"192.0.2.99"
],
"TTL": 300,
"Type": "A"
}
}
}
}

View file

@ -62,8 +62,8 @@ module.exports = (robot) ->
# Drop the hammer #
###################
robot.respond /drop the hammer/i, (msg) ->
msg.send "Commencing the hammer dropping..."
msg.send msg.random dropHammer
msg.send "Commencing the hammer dropping..."
msg.send msg.random dropHammer
###############
# Vape Nation #

View file

@ -3,5 +3,5 @@ package main
import "fmt"
func main() {
fmt.Println("hello world")
fmt.Println("hello world")
}

View file

@ -1,6 +1,6 @@
class Example {
static void main(String[] args) {
File file = new File("E:/Example.txt")
println "The file ${file.absolutePath} has ${file.length()} bytes"
}
static void main(String[] args) {
File file = new File("E:/Example.txt")
println "The file ${file.absolutePath} has ${file.length()} bytes"
}
}

View file

@ -1,10 +1,13 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Document</title>
</head>
<body>
Good HTML!
</body>
<head>
<meta charset="UTF-8">
<title>Document</title>
</head>
<body>
Good HTML!
</body>
</html>

View file

@ -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!
\index{text} is fun!
%Indexing text
% \index{text} is fun!

View file

@ -1,12 +1,12 @@
local embracer = {}
local function helper()
-- NYI wontfix
-- NYI wontfix
end
function embracer.embrace(opt)
opt = opt or "default"
return helper(opt.."?")
opt = opt or "default"
return helper(opt.."?")
end
return embracer

View file

@ -11,4 +11,3 @@ function BadFunction {
'Empty Catch Block'
} catch {}
}