Skip to content

Commit 52a56d5

Browse files
committed
style: fix indent
1 parent b67708f commit 52a56d5

File tree

7 files changed

+750
-750
lines changed

7 files changed

+750
-750
lines changed

readme.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -43,11 +43,11 @@ import beautify from 'posthtml-beautify';
4343
const html = readFileSync('input.html', 'utf8');
4444

4545
posthtml()
46-
.use(beautify({rules: {indent: 4}}))
47-
.process(html)
48-
.then(result => {
49-
writeFileSync('output.html', result.html);
50-
});
46+
.use(beautify({rules: {indent: 4}}))
47+
.process(html)
48+
.then(result => {
49+
writeFileSync('output.html', result.html);
50+
});
5151

5252
```
5353
*Returns html-formatted according to rules based on the use [HTML5 syntax Style Guide](http://www.w3schools.com/html/html5_syntax.asp), [Code Guide](http://codeguide.co/#html) with custom settings `indent: 4`*

src/attrs.js

Lines changed: 43 additions & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -1,45 +1,45 @@
11
export default {
2-
boolean: [
3-
'allowfullscreen',
4-
'async',
5-
'autofocus',
6-
'autoplay',
7-
'checked',
8-
'compact',
9-
'controls',
10-
'declare',
11-
'default',
12-
'defaultchecked',
13-
'defaultmuted',
14-
'defaultselected',
15-
'defer',
16-
'disabled',
17-
'enabled',
18-
'formnovalidate',
19-
'hidden',
20-
'indeterminate',
21-
'inert',
22-
'ismap',
23-
'itemscope',
24-
'loop',
25-
'multiple',
26-
'muted',
27-
'nohref',
28-
'noresize',
29-
'noshade',
30-
'novalidate',
31-
'nowrap',
32-
'open',
33-
'pauseonexit',
34-
'readonly',
35-
'required',
36-
'reversed',
37-
'scoped',
38-
'seamless',
39-
'selected',
40-
'sortable',
41-
'truespeed',
42-
'typemustmatch',
43-
'visible'
44-
]
2+
boolean: [
3+
'allowfullscreen',
4+
'async',
5+
'autofocus',
6+
'autoplay',
7+
'checked',
8+
'compact',
9+
'controls',
10+
'declare',
11+
'default',
12+
'defaultchecked',
13+
'defaultmuted',
14+
'defaultselected',
15+
'defer',
16+
'disabled',
17+
'enabled',
18+
'formnovalidate',
19+
'hidden',
20+
'indeterminate',
21+
'inert',
22+
'ismap',
23+
'itemscope',
24+
'loop',
25+
'multiple',
26+
'muted',
27+
'nohref',
28+
'noresize',
29+
'noshade',
30+
'novalidate',
31+
'nowrap',
32+
'open',
33+
'pauseonexit',
34+
'readonly',
35+
'required',
36+
'reversed',
37+
'scoped',
38+
'seamless',
39+
'selected',
40+
'sortable',
41+
'truespeed',
42+
'typemustmatch',
43+
'visible'
44+
]
4545
};

0 commit comments

Comments
 (0)