Skip to content

Commit ea134bc

Browse files
Configure gitattributes, force tabs (as enforced by WP Coding Standards)
1 parent e7a5ff9 commit ea134bc

3 files changed

Lines changed: 28 additions & 3 deletions

File tree

.editorconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ root = true
44
charset = utf-8
55
end_of_line = lf
66
indent_size = 4
7-
indent_style = space
7+
indent_style = tab
88
insert_final_newline = true
99
trim_trailing_whitespace = true
1010

.gitattributes

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
* text=auto eol=lf
2+
3+
*.css text diff=css
4+
*.js text diff=javascript
5+
*.json text diff=json
6+
*.md text diff=markdown
7+
*.php text diff=php
8+
*.xml text diff=xml
9+
*.yml text diff=yaml
10+
11+
# Ignore for export
12+
/.git export-ignore
13+
/.github export-ignore
14+
/.idea export-ignore
15+
/node_modules export-ignore
16+
17+
/.editorconfig export-ignore
18+
/.gitattributes export-ignore
19+
/.gitignore export-ignore
20+
/composer.json export-ignore
21+
/composer.lock export-ignore
22+
/package.json export-ignore
23+
/package-lock.json export-ignore
24+
/phpunit.xml export-ignore
25+
/README.md export-ignore

css/style.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,8 +72,8 @@
7272
border-radius: 0.2em;
7373
padding: 0.25em;
7474
position: absolute;
75-
text-align: center;
76-
font-weight: bold;
75+
text-align: center;
76+
font-weight: bold;
7777
}
7878

7979
/* Arrow below tooltip */

0 commit comments

Comments
 (0)