Skip to content

Commit c9fc24d

Browse files
authored
Initial commit
0 parents  commit c9fc24d

16 files changed

+20993
-0
lines changed

.bemlintrc.json

+16
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
{
2+
"elementDivider": "__",
3+
"modifierDivider": "--",
4+
"ignore": [
5+
"node_modules",
6+
"dist"
7+
],
8+
"rules": {
9+
"one-block": true,
10+
"one-element": true,
11+
"element-inside-parent-block": true,
12+
"no-double-element": true,
13+
"no-neighbour-parent-block": true,
14+
"modifiable-class": true
15+
}
16+
}

.editorconfig

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
#airbnb
2+
root = true
3+
4+
[*]
5+
indent_style = space
6+
indent_size = 2
7+
charset = utf-8
8+
trim_trailing_whitespace = true
9+
insert_final_newline = true
10+
end_of_line = lf

.eslintignore

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
/backstop_data
2+
/dist

.eslintrc.js

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
module.exports = {
2+
extends: '@mate-academy/eslint-config',
3+
};

.github/workflows/test.yml

+29
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: Test
2+
3+
on:
4+
pull_request:
5+
branches: [ master ]
6+
7+
jobs:
8+
build:
9+
10+
runs-on: ubuntu-latest
11+
12+
strategy:
13+
matrix:
14+
node-version: [20.x]
15+
16+
steps:
17+
- uses: actions/checkout@v2
18+
- name: Use Node.js ${{ matrix.node-version }}
19+
uses: actions/setup-node@v1
20+
with:
21+
node-version: ${{ matrix.node-version }}
22+
- run: npm install
23+
- run: npm start & sleep 5 && npm test
24+
- name: Upload tests report(cypress mochaawesome merged HTML report)
25+
if: ${{ always() }}
26+
uses: actions/upload-artifact@v2
27+
with:
28+
name: report
29+
path: reports

.gitignore

+15
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
# IDE
2+
.idea
3+
.vscode
4+
5+
# Node
6+
node_modules
7+
8+
# MacOS
9+
.DS_Store
10+
11+
# Generated files
12+
backstop_data
13+
dist
14+
.cache
15+
.parcel-cache

.linthtmlrc.json

+49
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
{
2+
"attr-bans": [
3+
"align",
4+
"background",
5+
"bgcolor",
6+
"border",
7+
"frameborder",
8+
"style"
9+
],
10+
"attr-name-ignore-regex": "viewBox",
11+
"attr-no-dup": true,
12+
"attr-quote-style": "double",
13+
"attr-req-value": true,
14+
"class-no-dup": true,
15+
"doctype-first": true,
16+
"doctype-html5": true,
17+
"fig-req-figcaption": true,
18+
"head-req-title": true,
19+
"html-req-lang": true,
20+
"id-class-style": false,
21+
"id-no-dup": true,
22+
"img-req-src": true,
23+
"img-req-alt": "allownull",
24+
"indent-width": 2,
25+
"indent-style": "spaces",
26+
"indent-width-cont": true,
27+
"input-radio-req-name": true,
28+
"spec-char-escape": true,
29+
"tag-bans": [
30+
"b",
31+
"i",
32+
"u",
33+
"center",
34+
"style",
35+
"marquee",
36+
"font",
37+
"s"
38+
],
39+
"tag-name-lowercase": true,
40+
"tag-name-match": true,
41+
"tag-self-close": false,
42+
"tag-close": true,
43+
"text-ignore-regex": "&",
44+
"title-no-dup": true,
45+
"line-end-style": "lf",
46+
"attr-new-line": 2,
47+
"attr-name-style": "dash",
48+
"attr-no-unsafe-char": true
49+
}

.stylelintignore

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
/backstop_data/
2+
/dist

.stylelintrc.js

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
module.exports = {
2+
extends: "@mate-academy/stylelint-config",
3+
plugins: [
4+
"stylelint-scss"
5+
],
6+
rules: {}
7+
};

0 commit comments

Comments
 (0)