Skip to content
This repository was archived by the owner on Feb 24, 2023. It is now read-only.

Commit 65be4bf

Browse files
Merge pull request #150 from lukaszflorczak/dev/v1.1.0
v1.1.0
2 parents 844ad09 + 3a31842 commit 65be4bf

36 files changed

+5013
-2228
lines changed

.eslintrc.js

Lines changed: 29 additions & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,17 @@
11
module.exports = {
2-
root: true,
3-
env: {
2+
root: true,
3+
4+
env: {
45
node: true
56
},
6-
'extends': [
7-
'plugin:vue/essential',
8-
'@vue/standard'
7+
8+
plugins: ['pug'],
9+
10+
'extends': [
11+
'plugin:vue/recommended'
912
],
10-
rules: {
13+
14+
rules: {
1115
'no-console': process.env.NODE_ENV === 'production' ? 'error' : 'off',
1216
'no-debugger': process.env.NODE_ENV === 'production' ? 'error' : 'off',
1317
'no-multiple-empty-lines': [2, { 'max': 2, 'maxEOF': 1 }],
@@ -19,52 +23,34 @@ module.exports = {
1923
'switchCase': 1
2024
}],
2125
'vue/html-indent': ['error', 'tab', {
22-
'attribute': 0,
26+
'attribute': 1,
2327
'baseIndent': 1,
2428
'closeBracket': 0,
25-
'alignAttributesVertically': false,
29+
'alignAttributesVertically': true,
2630
'ignores': []
2731
}],
32+
'vue/component-name-in-template-casing': 'error',
2833
// single quotes
2934
'quotes': [2, 'single'],
3035
// allow paren-less arrow functions
3136
'arrow-parens': 0,
3237
// allow async-await
33-
'generator-star-spacing': 0,
34-
35-
'vue/order-in-components': ['error', {
36-
'order': [
37-
'el',
38-
'name',
39-
'parent',
40-
'functional',
41-
['delimiters', 'comments'],
42-
['components', 'directives', 'filters'],
43-
'extends',
44-
'mixins',
45-
'inheritAttrs',
46-
'model',
47-
['props', 'propsData'],
48-
'data',
49-
'computed',
50-
'watch',
51-
'beforeCreate',
52-
'created',
53-
'beforeMount',
54-
'mounted',
55-
'beforeUpdate',
56-
'updated',
57-
'activated',
58-
'deactivated',
59-
'beforeDestroy',
60-
'destroyed',
61-
'methods',
62-
['template', 'render'],
63-
'renderError'
64-
]
65-
}]
38+
'generator-star-spacing': 0
6639
},
67-
parserOptions: {
40+
41+
parserOptions: {
6842
parser: 'babel-eslint'
69-
}
43+
},
44+
45+
overrides: [
46+
{
47+
files: [
48+
'**/__tests__/*.{j,t}s?(x)',
49+
'**/tests/unit/**/*.spec.{j,t}s?(x)'
50+
],
51+
env: {
52+
jest: true
53+
}
54+
}
55+
]
7056
}

.github/CODEOWNERS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
* @lukaszflorczak
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
---
2+
name: Pull request
3+
about:
4+
title: ''
5+
labels:
6+
assignees: lukaszflorczak
7+
8+
---
9+
10+
<!--
11+
12+
Important!
13+
14+
If it's a bug fix, create a pull request to hotfix branch.
15+
It it's a new feature, choose develop branch.
16+
Be sure you also updated a documentation (README file).
17+
18+
-->
19+
20+
**Description**
21+
A clear and concise description of what the proposed changes do.
22+
23+
**Issues**
24+
Fixes: #

.github/stale.yml

Lines changed: 28 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,39 @@
11
# Number of days of inactivity before an issue becomes stale
2-
daysUntilStale: 14
2+
daysUntilStale: 7
3+
34
# Number of days of inactivity before a stale issue is closed
4-
daysUntilClose: 7
5+
daysUntilClose: 14
6+
57
# Issues with these labels will never be considered stale
68
exemptLabels:
7-
- enhancemend
8-
- feature request
9-
- for later
10-
- help needed
11-
- in progress
9+
- "bug"
10+
- "critical"
11+
- "pending"
12+
- "enhancement"
13+
- "feature request"
14+
- "for later"
15+
- "help needed"
16+
- "in progress"
17+
18+
# Set to true to ignore issues in a project (defaults to false)
19+
exemptProjects: true
20+
21+
# Set to true to ignore issues in a milestone (defaults to false)
22+
exemptMilestones: true
23+
24+
# Set to true to ignore issues with an assignee (defaults to false)
25+
exemptAssignees: true
26+
1227
# Label to use when marking an issue as stale
13-
staleLabel: no answer
28+
staleLabel: "no answer"
29+
1430
# Comment to post when marking an issue as stale. Set to `false` to disable
1531
markComment: >
1632
This issue has been automatically marked as stale because it has not had
1733
recent activity. It will be closed if no further activity occurs. Thank you
1834
for your contributions.
35+
1936
# Comment to post when closing a stale issue. Set to `false` to disable
20-
closeComment: true
37+
closeComment: >
38+
This issue has been automatically closed because it has not had
39+
recent activity. Thank you for your contributions.

.github/workflows/lint.yml renamed to .github/workflows/test.yml

Lines changed: 21 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,13 @@
11
# This workflow will do a clean install of node dependencies, build the source code and run tests across different versions of node
22
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions
33

4-
name: lint
4+
name: test
55

66
on:
7-
- push
87
- pull_request
98

109
jobs:
11-
build:
10+
lint:
1211

1312
runs-on: ubuntu-latest
1413

@@ -26,3 +25,22 @@ jobs:
2625
- run: npm run lint
2726
env:
2827
CI: true
28+
29+
unit:
30+
31+
runs-on: ubuntu-latest
32+
33+
strategy:
34+
matrix:
35+
node-version: [10.x]
36+
37+
steps:
38+
- uses: actions/checkout@v2
39+
- name: lint
40+
uses: actions/setup-node@v1
41+
with:
42+
node-version: ${{ matrix.node-version }}
43+
- run: npm ci
44+
- run: npm run test:unit
45+
env:
46+
CI: true

.github/workflows/test:unit.yml

Lines changed: 0 additions & 28 deletions
This file was deleted.

.travis.yml

Lines changed: 0 additions & 8 deletions
This file was deleted.

CONTRIBUTING.md

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
## Contributing
2+
3+
🤝 Thanks to [Maciej Wach](https://github.com/wachu91) for inventing the name and to all [Contributors](https://github.com/lukaszflorczak/vue-agile/graphs/contributors) for your development.
4+
5+
### Pull requests
6+
If you would like ot fix a bug or create a new feature, be sure:
7+
8+
1. You created a pull request to a proper branch (`master` branch for bug fixes, `develop` branch for features).
9+
2. You put a description about what your code changes.
10+
3. You used [keywords](https://help.github.com/en/github/managing-your-work-on-github/linking-a-pull-request-to-an-issue) to mark related issues in your pull request.
11+
4. You updated the documentation (README file).
12+
13+
### Issues
14+
If you want just request a bug or new feature just use a proper issue template. Describe your expectations as accurately as possible and add a demo from CodePen.
15+
16+
### Commands
17+
18+
```bash
19+
# project setup
20+
yarn install
21+
22+
# compiles and hot-reloads for development
23+
yarn serve
24+
25+
# compiles and minifies for production
26+
yarn build-bundle
27+
28+
# lint and fixes files
29+
yarn lint --fix
30+
31+
# runs unit tests
32+
yarn test:unit
33+
```

0 commit comments

Comments
 (0)