Skip to content

Commit

Permalink
Merge branch 'release/v0.2.0'
Browse files Browse the repository at this point in the history
  • Loading branch information
jualoppaz committed Mar 27, 2020
2 parents 9928e42 + 5b9997c commit 623147d
Show file tree
Hide file tree
Showing 21 changed files with 2,928 additions and 186 deletions.
32 changes: 16 additions & 16 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
root = true

[*]
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true
indent_style = space
indent_size = 2

[*.txt]
indent_style = tab
indent_size = 4

[*.{diff,md}]
trim_trailing_whitespace = false
root = true

[*]
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true
indent_style = space
indent_size = 2

[*.txt]
indent_style = tab
indent_size = 2

[*.{diff,md}]
trim_trailing_whitespace = false
39 changes: 32 additions & 7 deletions .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,36 @@
"parser": "babel-eslint"
},
"rules": {
"no-shadow": ["error", { "allow": ["state"]}],
"no-param-reassign": ["error", {
"props": true,
"ignorePropertyModificationsFor": ["Vue"]
}],
"no-debugger": ["warn"]
}
"no-shadow": [
"error",
{
"allow": [
"state"
]
}
],
"no-param-reassign": [
"error",
{
"props": true,
"ignorePropertyModificationsFor": [
"Vue"
]
}
],
"no-debugger": [
"warn"
]
},
"overrides": [
{
"files": [
"**/__tests__/*.{j,t}s?(x)",
"**/tests/unit/**/*.spec.{j,t}s?(x)"
],
"env": {
"jest": true
}
}
]
}
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,6 @@ yarn-error.log*

## environment files
.env

## tests
coverage
7 changes: 7 additions & 0 deletions jest.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
module.exports = {
preset: '@vue/cli-plugin-unit-jest',
verbose: true,
collectCoverage: true,
collectCoverageFrom: ['src/**/*.{js,vue}', '!**/node_modules/**'],
coverageReporters: ['html', 'text-summary'],
};
Loading

0 comments on commit 623147d

Please sign in to comment.