mirror of
https://github.com/super-linter/super-linter.git
synced 2024-11-25 07:31:05 -05:00
Don't ignore dotfiles when running eslint
This commit is contained in:
parent
aad87c569b
commit
b03920b534
3 changed files with 26 additions and 0 deletions
12
.automation/test/json/.dotfile_json_bad_2.json
Normal file
12
.automation/test/json/.dotfile_json_bad_2.json
Normal file
|
@ -0,0 +1,12 @@
|
||||||
|
{
|
||||||
|
"arrow_spacing": {
|
||||||
|
"level": ["ignore"]
|
||||||
|
},
|
||||||
|
"foo": "bar",
|
||||||
|
"foo": "baz",
|
||||||
|
"braces_spacing": {
|
||||||
|
"level": 'ignore',
|
||||||
|
"spaces": 0
|
||||||
|
"empty_object_spaces": 0
|
||||||
|
}
|
||||||
|
}
|
10
.automation/test/json/.dotfile_json_good_2.json
Normal file
10
.automation/test/json/.dotfile_json_good_2.json
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
{
|
||||||
|
"arrow_spacing": {
|
||||||
|
"level": "ignore"
|
||||||
|
},
|
||||||
|
"braces_spacing": {
|
||||||
|
"level": "ignore",
|
||||||
|
"spaces": 0,
|
||||||
|
"empty_object_spaces": 0
|
||||||
|
}
|
||||||
|
}
|
|
@ -20,6 +20,10 @@ globals:
|
||||||
Atomics: readonly
|
Atomics: readonly
|
||||||
SharedArrayBuffer: readonly
|
SharedArrayBuffer: readonly
|
||||||
|
|
||||||
|
ignorePatterns:
|
||||||
|
- "!.*"
|
||||||
|
- "**/node_modules/.*"
|
||||||
|
|
||||||
###############
|
###############
|
||||||
# Parser vars #
|
# Parser vars #
|
||||||
###############
|
###############
|
||||||
|
|
Loading…
Reference in a new issue