Skip to content

Commit 211c300

Browse files
committed
Converted spaces to tabs
1 parent 6c55fcb commit 211c300

File tree

1 file changed

+22
-22
lines changed

1 file changed

+22
-22
lines changed

extensions/shared/test/get-validated-attributes.js

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -10,28 +10,28 @@ const colourValidator = value => hexRegex.test( value );
1010
const urlValidator = url => ! url || url.startsWith( 'http' );
1111

1212
const defaultAttributes = {
13-
boolean: {
14-
default: true,
15-
type: 'boolean',
16-
},
17-
color: {
18-
default: 'ffffff',
19-
type: 'string',
20-
validator: colourValidator,
21-
},
22-
language: {
23-
default: 'en',
24-
type: 'string',
25-
validValues: [ 'en', 'fr', 'de', 'es', 'he', 'jp' ],
26-
},
27-
url: {
28-
type: 'string',
29-
validator: urlValidator,
30-
},
31-
freeform: {
32-
default: 'one',
33-
type: 'string',
34-
},
13+
boolean: {
14+
default: true,
15+
type: 'boolean',
16+
},
17+
color: {
18+
default: 'ffffff',
19+
type: 'string',
20+
validator: colourValidator,
21+
},
22+
language: {
23+
default: 'en',
24+
type: 'string',
25+
validValues: [ 'en', 'fr', 'de', 'es', 'he', 'jp' ],
26+
},
27+
url: {
28+
type: 'string',
29+
validator: urlValidator,
30+
},
31+
freeform: {
32+
default: 'one',
33+
type: 'string',
34+
},
3535
};
3636

3737
describe( 'getValidatedAttributes', () => {

0 commit comments

Comments
 (0)