-
Notifications
You must be signed in to change notification settings - Fork 112
Move to kcd-scripts #86
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 19 commits
Commits
Show all changes
22 commits
Select commit
Hold shift + click to select a range
addf31a
Install kcd-scripts
afontcu 5a23553
Extend from kcd-scripts config files
afontcu 177ec91
Fix linting issues
afontcu c5696c7
Add vue linting files
afontcu ff8bd25
Remove lint-staged file
afontcu a8827ab
Remove unnecessary bits from babelrc
afontcu 805c820
Handle travis using kcd-scripts
afontcu ecd7b65
Add missing package json files
afontcu e85587b
Move __tests__ inside src
afontcu e35206d
Remove rollup bundle
afontcu e894484
Fix jest config paths
afontcu fa85fa5
Cleanup custom store test
afontcu d9e20aa
Test default case
afontcu 6f9e1c5
Remove unnecessary if statement
afontcu c943f8e
Run format
afontcu 670e5a6
Remove unnecessary config from eslint
afontcu 1f3cbbb
Add updated version of package lock
afontcu a77177b
Leverage kcd-scripts pre-commit hook
afontcu 46fbb17
Set versioning to semantically-released
afontcu f26a282
Fix version on package-lock
afontcu 84a0fcc
Remove unnecessary statement
afontcu 80fc03a
Merge branch 'master' into kcd-scripts
afontcu File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,12 @@ | ||
module.exports = { | ||
root: true, | ||
parserOptions: { | ||
parser: 'babel-eslint', | ||
ecmaVersion: 2017, | ||
sourceType: 'module' | ||
}, | ||
env: { | ||
browser: true, | ||
jest: true | ||
}, | ||
extends: [ | ||
'standard', | ||
'./node_modules/kcd-scripts/eslint.js', | ||
'plugin:vue/recommended', | ||
'eslint:recommended', | ||
'prettier/vue', | ||
'plugin:prettier/recommended' | ||
], | ||
plugins: [ | ||
'vue' | ||
], | ||
plugins: ['vue'], | ||
rules: { | ||
'no-console': 'off' | ||
} | ||
'no-console': 'off', | ||
'import/no-unresolved': 'off', | ||
}, | ||
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
module.exports = { | ||
proseWrap: 'always', | ||
semi: false, | ||
singleQuote: true | ||
} | ||
singleQuote: true, | ||
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,21 @@ | ||
module.exports = { | ||
moduleDirectories: ['node_modules', 'src'], | ||
const merge = require('lodash.merge') | ||
const config = require('kcd-scripts/jest') | ||
|
||
module.exports = merge(config, { | ||
testEnvironment: 'jsdom', | ||
moduleFileExtensions: ['js', 'vue'], | ||
moduleNameMapper: { | ||
'@testing-library/vue': '<rootDir>/src/vue-testing-library.js' | ||
'@testing-library/vue': '<rootDir>/src/vue-testing-library.js', | ||
}, | ||
coverageDirectory: './coverage', | ||
collectCoverageFrom: [ | ||
'**/src/**/*.js', | ||
'!**/tests/__tests__/**', | ||
'!**/node_modules/**' | ||
], | ||
testPathIgnorePatterns: [ | ||
'/node_modules/', | ||
'<rootDir>/dist/', | ||
'<rootDir>/tests/__tests__/components/' | ||
], | ||
collectCoverageFrom: ['**/src/**/*.js', '!**/src/__tests__/**'], | ||
transform: { | ||
'^.+\\.js$': '<rootDir>/node_modules/babel-jest', | ||
'.*\\.(vue)$': '<rootDir>/node_modules/vue-jest' | ||
'.*\\.(vue)$': '<rootDir>/node_modules/vue-jest', | ||
}, | ||
snapshotSerializers: ['<rootDir>/node_modules/jest-serializer-vue'] | ||
} | ||
snapshotSerializers: ['<rootDir>/node_modules/jest-serializer-vue'], | ||
testPathIgnorePatterns: [ | ||
'<rootDir>/node_modules', | ||
'<rootDir>/src/__tests__/components', | ||
], | ||
}) |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.