mirror of
https://github.com/super-linter/super-linter.git
synced 2024-11-22 08:41:02 -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')]"
|
"value": "[reference(resourceId('Microsoft.Network/virtualNetworks',variables('Network.Name')), '2019-12-01', 'Full')]"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -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))))
|
||||||
|
|
|
@ -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,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.
|
||||||
|
|
|
@ -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>
|
||||||
</html>
|
Good HTML!
|
||||||
|
</body>
|
||||||
|
|
||||||
|
</html>
|
||||||
|
|
|
@ -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.
|
||||||
|
|
|
@ -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!
|
||||||
|
|
||||||
|
|
|
@ -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.
|
||||||
|
|
|
@ -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 {}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
Write-Output "hello world!"
|
Write-Output "hello world!"
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
@{
|
@{
|
||||||
'Hello'='World'
|
'Hello'='World'
|
||||||
}
|
}
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
Write-Output "hello world!"
|
Write-Output "hello world!"
|
||||||
|
|
Loading…
Reference in a new issue