-
-
Notifications
You must be signed in to change notification settings - Fork 194
/
Copy path.markbot.yml
87 lines (73 loc) · 2.57 KB
/
.markbot.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
repo: 'fastness-fixer'
canvasCourse: 'web-dev-3'
inherit:
- naming-restrict-live
- git-2
- html
- google-fonts
- css
allFiles:
files:
smushed: true
html:
- path: 'index.html'
has:
- ['link[href*="Cormorant+Garamond"]', 'The Google Font, `Cormorant Garamon` is missing']
- ['link[href*="Delius+Unicase"]', 'The Google Font, `Delius Unicase` is missing']
hasNot:
- ['link[href*="Lobster"]', 'The Google Font, `Lobster` isn’t necessary for the website']
- ['script[src*="tracker.js"]', 'Delete the tracker `<script>` tag — tracking scripts slow websites down']
- ['iframe[src*="ad"]', 'Delete the ad’s `<iframe>` tag — advertisements slow websites down']
css:
- path: 'css/main.css'
hasNot:
- ['.ad-wrap']
- ['.ad-wrap::before']
- ['.ad']
- ['.banner-content', ['font-family']]
- path: 'css/grid.css'
searchNot:
- ['.unit-m-1-4', 'Having `4` column widths in `medium` and smaller sizes isn’t useful because the website doesn’t use them']
- ['.unit-l-hidden', 'The `large` size isn’t necessary because the website doesn’t use it']
- path: 'css/modules.css'
hasNot:
- ['.icon', false, 'The “Icons” module isn’t necessary because the website doesn’t use it']
- ['.media', false, 'The “Media objects” module isn’t necessary because the website doesn’t use it']
- ['.hidden', false, 'The “Hidden” module isn’t necessary because the website doesn’t use it']
- ['fieldset', false, 'The “Forms” module isn’t necessary because the website doesn’t use it']
- ['.btn', false, 'The “Basic buttons” module isn’t necessary because the website doesn’t use it']
- ['.skip-links', false, 'The “Accessibility” module isn’t necessary because the website doesn’t use it']
searchNot:
- ['@media print', 'The “Print styles” module isn’t necessary because the website doesn’t use it']
screenshots:
- path: 'index.html'
sizes: [320, 1440]
files:
- path: 'css/modules.css'
smushed: false
maxSize: 6
- path: 'css/grid.css'
smushed: false
maxSize: 5
- path: 'images/banner.jpg'
maxSize: 205
maxWidth: 2500
maxHeight: 1700
- path: 'images/snail.jpg'
maxSize: 100
maxWidth: 2500
maxHeight: 1700
- path: 'images/snail-2.jpg'
maxSize: 70
maxWidth: 1400
minWidth: 1400
maxHeight: 1000
- path: 'images/snail-3.jpg'
maxSize: 70
maxWidth: 1400
minWidth: 1400
maxHeight: 1000
performance:
- path: 'index.html'
budget:
maxFonts: 3