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

@ -50,4 +50,4 @@
"value": "[reference(resourceId('Microsoft.Network/virtualNetworks',variables('Network.Name')), '2019-12-01', 'Full')]" "value": "[reference(resourceId('Microsoft.Network/virtualNetworks',variables('Network.Name')), '2019-12-01', 'Full')]"
} }
} }
} }

View file

@ -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))
@ -31,4 +31,4 @@
(ns bar-test (:require [clojure.test :as t])) (ns bar-test (:require [clojure.test :as t]))
(t/deftest my-tests (t/deftest my-tests
(t/is (odd? (inc 1)))) (t/is (odd? (inc 1))))

View file

@ -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"
} }
] ]
} }
} }
} }
} }

View file

@ -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"
} }
} }
} }
} }

View file

@ -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 #

View file

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

View file

@ -1,5 +1,5 @@
# Groovy Test Cases # Groovy Test Cases
This folder holds the test cases for **Groovy**. This folder holds the test cases for **Groovy**.
## Additional Docs ## Additional Docs
No Additional information is needed for this test case. No Additional information is needed for this test case.

View file

@ -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"
} }
} }

View file

@ -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>
</html> Good HTML!
</body>
</html>

View file

@ -1,5 +1,5 @@
# LaTeX Test Cases # LaTeX Test Cases
This folder holds the test cases for **LaTeX**. This folder holds the test cases for **LaTeX**.
## Additional Docs ## Additional Docs
No Additional information is needed for this test case. No Additional information is needed for this test case.
@ -10,4 +10,4 @@ The test cases denoted: `LANGUAGE_good_FILE.EXTENSION` are all valid, and should
## Bad Test Cases ## Bad Test Cases
The test cases denoted: `LANGUAGE_bad_FILE.EXTENSION` are **NOT** valid, and should trigger errors when linted. The test cases denoted: `LANGUAGE_bad_FILE.EXTENSION` are **NOT** valid, and should trigger errors when linted.
- **Note:** They are linted utilizing the default linter rules. - **Note:** They are linted utilizing the default linter rules.

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! 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!

View file

@ -10,4 +10,4 @@ The test cases denoted: `LANGUAGE_good_FILE.EXTENSION` are all valid, and should
## Bad Test Cases ## Bad Test Cases
The test cases denoted: `LANGUAGE_bad_FILE.EXTENSION` are **NOT** valid, and should trigger errors when linted. The test cases denoted: `LANGUAGE_bad_FILE.EXTENSION` are **NOT** valid, and should trigger errors when linted.
- **Note:** They are linted utilizing the default linter rules. - **Note:** They are linted utilizing the default linter rules.

View file

@ -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

View file

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

View file

@ -1 +1 @@
Write-Output "hello world!" Write-Output "hello world!"

View file

@ -1,3 +1,3 @@
@{ @{
'Hello'='World' 'Hello'='World'
} }

View file

@ -1 +1 @@
Write-Output "hello world!" Write-Output "hello world!"