Merge pull request #418 from dave-bartolomeo/dave/FormatConfig

Allow mixed whitespace in certain test and external directories
This commit is contained in:
Tom Hvitved
2018-11-12 09:43:39 +01:00
committed by GitHub
6 changed files with 45 additions and 6 deletions

11
cpp/ql/test/format.json Normal file
View File

@@ -0,0 +1,11 @@
[
{
"pattern": [
"**/*.c",
"**/*.cpp",
"**/*.h",
"**/*.hpp"
],
"allowMixedTabsAndSpaces": true
}
]

View File

@@ -0,0 +1,6 @@
[
{
"pattern": "**/*.cs",
"allowMixedTabsAndSpaces": true
}
]

6
java/ql/test/format.json Normal file
View File

@@ -0,0 +1,6 @@
[
{
"pattern": "**/*.java",
"allowMixedTabsAndSpaces": true
}
]

View File

@@ -5,13 +5,13 @@
<projects>
</projects>
<buildSpec>
<buildCommand>
<name>org.eclipse.jdt.core.javabuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.jdt.core.javabuilder</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>org.eclipse.jdt.core.javanature</nature>
<nature>org.eclipse.jdt.core.javanature</nature>
</natures>
</projectDescription>

View File

@@ -0,0 +1,10 @@
[
{
"pattern": [
"lib/**/*",
"parser-tests/**/*.js",
"tests/**/*.js"
],
"allowMixedTabsAndSpaces": true
}
]

View File

@@ -0,0 +1,6 @@
[
{
"pattern": "**/*.js",
"allowMixedTabsAndSpaces": true
}
]