Skip to content

Commit 40def8d

Browse files
authored
Merge pull request #418 from dave-bartolomeo/dave/FormatConfig
Allow mixed whitespace in certain test and external directories
2 parents c9d77a2 + 2977395 commit 40def8d

File tree

6 files changed

+45
-6
lines changed

6 files changed

+45
-6
lines changed

cpp/ql/test/format.json

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
[
2+
{
3+
"pattern": [
4+
"**/*.c",
5+
"**/*.cpp",
6+
"**/*.h",
7+
"**/*.hpp"
8+
],
9+
"allowMixedTabsAndSpaces": true
10+
}
11+
]

csharp/ql/test/format.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
[
2+
{
3+
"pattern": "**/*.cs",
4+
"allowMixedTabsAndSpaces": true
5+
}
6+
]

java/ql/test/format.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
[
2+
{
3+
"pattern": "**/*.java",
4+
"allowMixedTabsAndSpaces": true
5+
}
6+
]

javascript/extractor/.project

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,13 @@
55
<projects>
66
</projects>
77
<buildSpec>
8-
<buildCommand>
9-
<name>org.eclipse.jdt.core.javabuilder</name>
10-
<arguments>
11-
</arguments>
12-
</buildCommand>
8+
<buildCommand>
9+
<name>org.eclipse.jdt.core.javabuilder</name>
10+
<arguments>
11+
</arguments>
12+
</buildCommand>
1313
</buildSpec>
1414
<natures>
15-
<nature>org.eclipse.jdt.core.javanature</nature>
15+
<nature>org.eclipse.jdt.core.javanature</nature>
1616
</natures>
1717
</projectDescription>

javascript/extractor/format.json

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
[
2+
{
3+
"pattern": [
4+
"lib/**/*",
5+
"parser-tests/**/*.js",
6+
"tests/**/*.js"
7+
],
8+
"allowMixedTabsAndSpaces": true
9+
}
10+
]

javascript/ql/test/format.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
[
2+
{
3+
"pattern": "**/*.js",
4+
"allowMixedTabsAndSpaces": true
5+
}
6+
]

0 commit comments

Comments
 (0)