8000 v2 by OlehDutchenko · Pull Request #8 · OlehDutchenko/sort-css-media-queries · GitHub
Skip to content
Merged

v2 #8

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
root = true

[{package.json, package-lock.json}]
indent_style = space
indent_size = 2

[*.md]
trim_trailing_whitespace = false
8 changes: 8 additions & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"root": true,
"extends": ["@wezom/eslint-config", "eslint-config-prettier"],
"plugins": ["jest"],
"env": {
"jest/globals": true
}
}
12 changes: 10 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,14 @@
name: Test

on: [push, pull_request]
on:
# Trigger the workflow on push or pull request,
# but only for the main branch
push:
branches:
- master
pull_request:
branches:
- master

jobs:
test:
Expand All @@ -16,6 +24,6 @@ jobs:
- name: Install deps
run: npm ci
- name: Code style
run: npm run standard
run: npm test
- name: Jest tests
run: npm run jest
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
.idea/
.cache/
coverage/
node_modules/
*.log*
.DS_Store
Expand Down
3 changes: 3 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
package.json
package-lock.json
.gitignore
11 changes: 11 additions & 0 deletions .prettierrc.json
66E1
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"arrowParens": "always",
"bracketSpacing": true,
"jsxBracketSameLine": false,
"printWidth": 90,
"semi": true,
"singleQuote": true,
"trailingComma": "none",
"tabWidth": 4,
"useTabs": true
}
71 changes: 0 additions & 71 deletions CONTRIBUTING-RU.md

This file was deleted.

82 changes: 0 additions & 82 deletions CONTRIBUTING.md

This file was deleted.

Loading