Skip to content

Commit ac3b9c4

Browse files
committed
Update project configuration files
1 parent 83c8d3d commit ac3b9c4

File tree

5 files changed

+51
-25
lines changed

5 files changed

+51
-25
lines changed

.editorconfig

+35-5
Original file line numberDiff line numberDiff line change
@@ -4,19 +4,49 @@
44

55
root = true
66

7-
# General
87
[*]
98
charset = utf-8
109
end_of_line = lf
1110
indent_style = space
12-
indent_size = 4
1311
insert_final_newline = true
1412
trim_trailing_whitespace = true
1513

16-
# Web & Data
17-
[*.{html,css,sass,scss,js,jsx,jsm,ts,tsx,vue,json,yaml,yml,webmanifest}]
14+
# == Native
15+
16+
# Programs
17+
[*.{py,rs}]
18+
indent_size = 4
19+
20+
# Scripts
21+
[*.{ds,ps1,sh}]
22+
indent_size = 4
23+
24+
# Packaging
25+
[{*.{install,nsh,nuspec,spec,wxs},PKGBUILD}]
26+
indent_size = 4
27+
28+
# Data
29+
[*.{toml,xml}]
30+
indent_size = 4
31+
32+
# == Web
33+
34+
# HTML
35+
[*.{html,svelte,vue}]
36+
indent_size = 2
37+
38+
# Scripts
39+
[*.{js,jsx,ts,tsx,mjs,cfg}]
40+
indent_size = 2
41+
42+
# Stylesheets
43+
[*.{css,sass,scss}]
44+
indent_size = 2
45+
46+
# Data
47+
[*.{json,yaml,yml,webmanifest}]
1848
indent_size = 2
1949

2050
# Configuration
21-
[.*rc]
51+
[{.*rc,_headers,_redirects}]
2252
indent_size = 2

.gitattributes

-5
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,6 @@
44
.* text eol=lf
55
.* text=auto
66

7-
# Declare files that must have CRLF line endings
8-
*.bat text eol=crlf
9-
*.cmd text eol=crlf
10-
*.ps1 text eol=crlf
11-
127
# Exclude unused files in archive
138
.editorconfig export-ignore
149
.gitattributes export-ignore

crowdin.yml

-1
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,4 @@ files:
1010
- source: /extension/src/_locales/en/messages.json
1111
translation: /extension/src/_locales/%two_letters_code%/messages.json
1212
skip_untranslated_strings: true
13-
skip_untranslated_files: true
1413
type: chrome

docs/docs/robots.txt

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
Sitemap: https://pwasforfirefox.filips.si/sitemap.xml
2+
Sitemap: https://pwasforfirefox.filips.si/sitemap.xml.gz

extension/icons/_css.hbs

+14-14
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,24 @@
11
@font-face {
2-
font-family: "{{ name }}";
3-
src: {{{ fontSrc }}};
2+
font-family: "{{ name }}";
3+
src: {{{ fontSrc }}};
44
}
55

66
.{{prefix}}::before,
77
[class^="{{prefix}}-"]::before,
88
[class*=" {{prefix}}-"]::before {
9-
display: inline-block;
10-
font-display: block;
11-
font-family: {{ name }} !important;
12-
font-style: normal;
13-
font-weight: normal !important;
14-
font-variant: normal;
15-
text-transform: none;
16-
line-height: 1;
17-
vertical-align: -.125em;
18-
-webkit-font-smoothing: antialiased;
19-
-moz-osx-font-smoothing: grayscale;
9+
display: inline-block;
10+
font-display: block;
11+
font-family: {{ name }} !important;
12+
font-style: normal;
13+
font-weight: normal !important;
14+
font-variant: normal;
15+
text-transform: none;
16+
line-height: 1;
17+
vertical-align: -.125em;
18+
-webkit-font-smoothing: antialiased;
19+
-moz-osx-font-smoothing: grayscale;
2020
}
2121

2222
{{# each codepoints }}
23-
.{{ ../prefix }}-{{ @key }}::before { content: "\\{{ codepoint this }}"; }
23+
.{{ ../prefix }}-{{ @key }}::before { content: "\\{{ codepoint this }}"; }
2424
{{/ each }}

0 commit comments

Comments
 (0)