Skip to content

Commit 9ce58c4

Browse files
mgredmroderick
authored andcommitted
align json/yaml formatting
1 parent 13438fb commit 9ce58c4

File tree

3 files changed

+65
-66
lines changed

3 files changed

+65
-66
lines changed

.editorconfig

+1-2
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,7 @@ indent_style = space
1111
indent_size = 4
1212
trim_trailing_whitespace = true
1313

14-
# Matches the exact files either package.json or .travis.yml
15-
[{package.json, .travis.yml}]
14+
[*.{json,yml,yaml}]
1615
indent_style = space
1716
indent_size = 2
1817

.eslintrc.yaml

+48-48
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
extends:
2-
- sinon
3-
- 'plugin:prettier/recommended'
4-
- 'plugin:jsdoc/recommended'
2+
- sinon
3+
- "plugin:prettier/recommended"
4+
- "plugin:jsdoc/recommended"
55

66
env:
77
browser: true
@@ -18,7 +18,7 @@ plugins:
1818
- local-rules
1919

2020
rules:
21-
strict: [error, 'global']
21+
strict: [error, "global"]
2222

2323
ie11/no-collection-args: error
2424
ie11/no-for-in-const: error
@@ -27,50 +27,50 @@ rules:
2727
local-rules/no-prototype-methods: error
2828

2929
overrides:
30-
- files: '*.test.*'
30+
- files: "*.test.*"
3131
plugins:
32-
- mocha
32+
- mocha
3333
env:
34-
mocha: true
34+
mocha: true
3535
rules:
36-
jsdoc/check-alignment: off
37-
jsdoc/check-examples: off
38-
jsdoc/check-indentation: off
39-
jsdoc/check-param-names: off
40-
jsdoc/check-syntax: off
41-
jsdoc/check-tag-names: off
42-
jsdoc/check-types: off
43-
jsdoc/implements-on-classes: off
44-
jsdoc/match-description: off
45-
jsdoc/newline-after-description: off
46-
jsdoc/no-types: off
47-
jsdoc/no-undefined-types: off
48-
jsdoc/require-description: off
49-
jsdoc/require-description-complete-sentence: off
50-
jsdoc/require-example: off
51-
jsdoc/require-hyphen-before-param-description: off
52-
jsdoc/require-jsdoc: off
53-
jsdoc/require-param: off
54-
jsdoc/require-param-description: off
55-
jsdoc/require-param-name: off
56-
jsdoc/require-param-type: off
57-
jsdoc/require-returns: off
58-
jsdoc/require-returns-check: off
59-
jsdoc/require-returns-description: off
60-
jsdoc/require-returns-type: off
61-
jsdoc/valid-types: off
62-
local-rules/no-prototype-methods: off
63-
max-nested-callbacks:
64-
- warn
65-
- 6
66-
mocha/handle-done-callback: error
67-
mocha/no-exclusive-tests: error
68-
mocha/no-global-tests: error
69-
mocha/no-hooks-for-single-case: off
70-
mocha/no-identical-title: error
71-
mocha/no-mocha-arrows: error
72-
mocha/no-nested-tests: error
73-
mocha/no-return-and-callback: error
74-
mocha/no-sibling-hooks: error
75-
mocha/no-skipped-tests: error
76-
mocha/no-top-level-hooks: error
36+
jsdoc/check-alignment: off
37+
jsdoc/check-examples: off
38+
jsdoc/check-indentation: off
39+
jsdoc/check-param-names: off
40+
jsdoc/check-syntax: off
41+
jsdoc/check-tag-names: off
42+
jsdoc/check-types: off
43+
jsdoc/implements-on-classes: off
44+
jsdoc/match-description: off
45+
jsdoc/newline-after-description: off
46+
jsdoc/no-types: off
47+
jsdoc/no-undefined-types: off
48+
jsdoc/require-description: off
49+
jsdoc/require-description-complete-sentence: off
50+
jsdoc/require-example: off
51+
jsdoc/require-hyphen-before-param-description: off
52+
jsdoc/require-jsdoc: off
53+
jsdoc/require-param: off
54+
jsdoc/require-param-description: off
55+
jsdoc/require-param-name: off
56+
jsdoc/require-param-type: off
57+
jsdoc/require-returns: off
58+
jsdoc/require-returns-check: off
59+
jsdoc/require-returns-description: off
60+
jsdoc/require-returns-type: off
61+
jsdoc/valid-types: off
62+
local-rules/no-prototype-methods: off
63+
max-nested-callbacks:
64+
- warn
65+
- 6
66+
mocha/handle-done-callback: error
67+
mocha/no-exclusive-tests: error
68+
mocha/no-global-tests: error
69+
mocha/no-hooks-for-single-case: off
70+
mocha/no-identical-title: error
71+
mocha/no-mocha-arrows: error
72+
mocha/no-nested-tests: error
73+
mocha/no-return-and-callback: error
74+
mocha/no-sibling-hooks: error
75+
mocha/no-skipped-tests: error
76+
mocha/no-top-level-hooks: error

jsdoc.conf.json

+16-16
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
11
{
2-
"plugins": ["plugins/markdown"],
3-
"recurseDepth": 10,
4-
"source": {
5-
"include": "lib/",
6-
"includePattern": ".+\\.js(doc)?$",
7-
"excludePattern": "(^|\\/|\\\\)_"
8-
},
9-
"sourceType": "module",
10-
"tags": {
11-
"allowUnknownTags": true,
12-
"dictionaries": ["jsdoc","closure"]
13-
},
14-
"templates": {
15-
"cleverLinks": false,
16-
"monospaceLinks": false
17-
}
2+
"plugins": ["plugins/markdown"],
3+
"recurseDepth": 10,
4+
"source": {
5+
"include": "lib/",
6+
"includePattern": ".+\\.js(doc)?$",
7+
"excludePattern": "(^|\\/|\\\\)_"
8+
},
9+
"sourceType": "module",
10+
"tags": {
11+
"allowUnknownTags": true,
12+
"dictionaries": ["jsdoc", "closure"]
13+
},
14+
"templates": {
15+
"cleverLinks": false,
16+
"monospaceLinks": false
17+
}
1818
}

0 commit comments

Comments
 (0)