Skip to content

Commit

Permalink
upgrade to @mate-academy/scripts (mate-academy#348)
Browse files Browse the repository at this point in the history
  • Loading branch information
YuriiHoliuk authored May 24, 2020
1 parent 6c053d7 commit 57ab71f
Show file tree
Hide file tree
Showing 14 changed files with 13,472 additions and 77 deletions.
2 changes: 1 addition & 1 deletion .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ indent_size = 2
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true
end_of_line = lf
end_of_line = lf
2 changes: 1 addition & 1 deletion .eslintignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
/backstop_data
/src/report
/dist
23 changes: 23 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Test

on:
pull_request:
branches: [ master ]

jobs:
build:

runs-on: ubuntu-latest

strategy:
matrix:
node-version: [12.x]

steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- run: npm ci
- run: npm start & sleep 5 && npm test
12 changes: 9 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,7 +1,13 @@
# IDE
.idea
.vscode

# Node
node_modules

# MacOS
.DS_Store
yarn.lock
package-lock.json

# Generated files
backstop_data
!backstop_data/engine_scripts/
dist
49 changes: 49 additions & 0 deletions .linthtmlrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
{
"attr-bans": [
"align",
"background",
"bgcolor",
"border",
"frameborder",
"style"
],
"attr-name-ignore-regex": "viewBox",
"attr-no-dup": true,
"attr-quote-style": "double",
"attr-req-value": true,
"class-no-dup": true,
"doctype-first": true,
"doctype-html5": true,
"fig-req-figcaption": true,
"head-req-title": true,
"html-req-lang": true,
"id-class-style": false,
"id-no-dup": true,
"img-req-src": true,
"img-req-alt": "allownull",
"indent-width": 2,
"indent-style": "spaces",
"indent-width-cont": true,
"input-radio-req-name": true,
"spec-char-escape": true,
"tag-bans": [
"b",
"i",
"u",
"center",
"style",
"marquee",
"font",
"s"
],
"tag-name-lowercase": true,
"tag-name-match": true,
"tag-self-close": "never",
"tag-close": true,
"text-ignore-regex": "&",
"title-no-dup": true,
"line-end-style": "lf",
"attr-new-line": 2,
"attr-name-style": "dash",
"attr-no-unsafe-char": true
}
2 changes: 1 addition & 1 deletion .stylelintignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
/backstop_data/
/src/report
/dist
10 changes: 8 additions & 2 deletions .stylelintrc.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
module.exports = {
extends: "@mate-academy/stylelint-config",
extends: [
"stylelint-config-recommended-scss",
"@mate-academy/stylelint-config"
],
plugins: [
"stylelint-scss"
],
rules: {}
}
};
9 changes: 0 additions & 9 deletions .travis.yml

This file was deleted.

File renamed without changes.
9 changes: 0 additions & 9 deletions config/hooks/deploy.sh

This file was deleted.

3 changes: 0 additions & 3 deletions config/hooks/start-server.sh

This file was deleted.

Loading

0 comments on commit 57ab71f

Please sign in to comment.