mirror of
https://github.com/super-linter/super-linter.git
synced 2024-12-22 15:22:16 -05:00
Fix editorconfig-checker errors
This commit is contained in:
parent
b7e5dfce01
commit
4b92c25a4b
17 changed files with 81 additions and 79 deletions
|
@ -50,4 +50,4 @@
|
|||
"value": "[reference(resourceId('Microsoft.Network/virtualNetworks',variables('Network.Name')), '2019-12-01', 'Full')]"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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))
|
||||
|
@ -31,4 +31,4 @@
|
|||
(ns bar-test (:require [clojure.test :as t]))
|
||||
|
||||
(t/deftest my-tests
|
||||
(t/is (odd? (inc 1))))
|
||||
(t/is (odd? (inc 1))))
|
||||
|
|
|
@ -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"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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 #
|
||||
|
|
|
@ -3,5 +3,5 @@ package main
|
|||
import "fmt"
|
||||
|
||||
func main() {
|
||||
fmt.Println("hello world")
|
||||
fmt.Println("hello world")
|
||||
}
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
# Groovy Test Cases
|
||||
This folder holds the test cases for **Groovy**.
|
||||
This folder holds the test cases for **Groovy**.
|
||||
|
||||
## Additional Docs
|
||||
No Additional information is needed for this test case.
|
||||
|
|
|
@ -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"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,10 +1,13 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>Document</title>
|
||||
</head>
|
||||
<body>
|
||||
Good HTML!
|
||||
</body>
|
||||
</html>
|
||||
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>Document</title>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
Good HTML!
|
||||
</body>
|
||||
|
||||
</html>
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
# LaTeX Test Cases
|
||||
This folder holds the test cases for **LaTeX**.
|
||||
This folder holds the test cases for **LaTeX**.
|
||||
|
||||
## Additional Docs
|
||||
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
|
||||
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.
|
||||
|
|
|
@ -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!
|
||||
|
||||
|
|
|
@ -10,4 +10,4 @@ The test cases denoted: `LANGUAGE_good_FILE.EXTENSION` are all valid, and should
|
|||
|
||||
## Bad Test Cases
|
||||
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.
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -11,4 +11,3 @@ function BadFunction {
|
|||
'Empty Catch Block'
|
||||
} catch {}
|
||||
}
|
||||
|
||||
|
|
|
@ -1 +1 @@
|
|||
Write-Output "hello world!"
|
||||
Write-Output "hello world!"
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
@{
|
||||
'Hello'='World'
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1 +1 @@
|
|||
Write-Output "hello world!"
|
||||
Write-Output "hello world!"
|
||||
|
|
Loading…
Reference in a new issue