-
-
Notifications
You must be signed in to change notification settings - Fork 7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'dev' into fix/3197-restore-v-edit-dialog-events
- Loading branch information
Showing
506 changed files
with
24,565 additions
and
15,609 deletions.
There are no files selected for viewing
This file contains 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 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 |
---|---|---|
|
@@ -4,3 +4,7 @@ src/stylus/*.styl | |
src/util/testing.js | ||
src/util/to-have-been-warned.js | ||
*.spec.js | ||
/dist | ||
/es5 | ||
/es5-temp | ||
/types/test |
This file contains 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,31 +1,97 @@ | ||
module.exports = { | ||
root: true, | ||
parser: 'typescript-eslint-parser', | ||
parserOptions: { | ||
parser: 'babel-eslint', | ||
ecmaVersion: 2017, | ||
sourceType: 'module' | ||
}, | ||
extends: [ | ||
'standard' | ||
], | ||
env: { | ||
browser: true | ||
browser: true, | ||
es6: true | ||
}, | ||
globals: { | ||
'expect': true, | ||
'describe': true, | ||
'it': true, | ||
'jest': true | ||
'jest': true, | ||
'process': true, | ||
'__REQUIRED_VUE__': true | ||
}, | ||
'rules': { | ||
plugins: [ | ||
'typescript', | ||
'eslint-plugin-local-rules' | ||
], | ||
rules: { | ||
// allow paren-less arrow functions | ||
'arrow-parens': [2, 'as-needed'], | ||
'local-rules/no-render-string-reference': 2, | ||
// set maximum line characters | ||
'max-len': [2, 140, 4, {'ignoreUrls': true, 'ignoreTemplateLiterals': true, 'ignoreStrings': true}], | ||
'max-len': [2, 140, 4, { | ||
'ignoreUrls': true, | ||
'ignoreTemplateLiterals': true, | ||
'ignoreStrings': true | ||
}], | ||
'max-statements': [2, 24], | ||
'no-console': 'off', | ||
// allow debugger during development | ||
'no-debugger': process.env.NODE_ENV === 'production' ? 2 : 0, | ||
'no-return-assign': 0, | ||
'max-statements': [2, 24], | ||
'prefer-promise-reject-errors': 0 | ||
} | ||
'prefer-promise-reject-errors': 0, | ||
'no-unused-vars': ['error', { | ||
vars: 'all', | ||
args: 'none', // This needs to be off so we can specify mixin interfaces | ||
ignoreRestSiblings: false | ||
}], | ||
'no-empty': 'error', | ||
'object-curly-spacing': ['error', 'always'], | ||
'space-before-function-paren': [ | ||
'error', | ||
{ | ||
anonymous: 'always', | ||
named: 'always', | ||
asyncArrow: 'always' | ||
} | ||
], | ||
'no-return-await': 'warn', | ||
'object-shorthand': ['error', 'always'], | ||
'no-extra-semi': 'error' | ||
}, | ||
overrides: [ | ||
{ | ||
files: '**/*.ts', | ||
rules: { | ||
// https://github.com/eslint/typescript-eslint-parser#known-issues | ||
'no-undef': 'off', | ||
|
||
// https://github.com/eslint/typescript-eslint-parser/issues/445 | ||
// 'typescript/no-unused-vars': 'error' | ||
|
||
// https://github.com/eslint/eslint/issues/10260 | ||
'space-infix-ops': false, | ||
|
||
// https://github.com/nzakas/eslint-plugin-typescript/issues/127 | ||
// 'typescript/prefer-namespace-keyword': 'error', | ||
|
||
// Can't overload function exports with this enabled | ||
'import/export': false, | ||
|
||
// https://github.com/eslint/typescript-eslint-parser/issues/457 | ||
'no-unused-vars': false, | ||
// 'typescript/no-unused-vars': 'error', | ||
|
||
// https://github.com/eslint/typescript-eslint-parser/issues/443 | ||
// 'no-redeclare': false, | ||
|
||
'typescript/adjacent-overload-signatures': 'error', | ||
'typescript/member-delimiter-style': ['error', { | ||
delimiter: 'none' | ||
}], | ||
'typescript/member-ordering': 'error', | ||
'typescript/type-annotation-spacing': 'error' | ||
} | ||
} | ||
] | ||
} |
This file contains 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 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 |
---|---|---|
|
@@ -15,6 +15,8 @@ dev/*css | |
!dev/lint-commit-message.js | ||
!dev/warn-npm-install.js | ||
/es5 | ||
/es5-temp | ||
/dist | ||
/release | ||
.env | ||
yarn-error.log |
This file contains 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 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,37 +1,57 @@ | ||
language: node_js | ||
node_js: | ||
- "8" | ||
node_js: '8' | ||
|
||
before_script: | ||
- npm i codecov -g | ||
cache: | ||
yarn: true | ||
|
||
script: | ||
install: | ||
- yarn --frozen-lockfile --non-interactive | ||
- yarn run lint | ||
- yarn run test:coverage && codecov | ||
- yarn run build | ||
|
||
cache: | ||
yarn: true | ||
stages: | ||
- name: test | ||
if: (tag IS blank) OR (type != push) OR (repo != vuetifyjs/vuetify) | ||
- name: deploy | ||
if: (tag IS present) AND (type = push) AND (repo = vuetifyjs/vuetify) | ||
|
||
jobs: | ||
include: | ||
- stage: test | ||
before_script: | ||
- npm i codecov -g | ||
script: | ||
- yarn run lint | ||
- yarn run test:types | ||
- yarn run test:coverage -i | ||
after_script: | ||
- codecov | ||
|
||
before_deploy: | ||
- rm -rf release | ||
- mkdir -p release | ||
- for file in ./dist/*; do cp "$file" "${file/dist\/vuetify/release/vuetify-${TRAVIS_TAG}}"; done | ||
- zip -jr "release/vuetify-${TRAVIS_TAG}.zip" release/* | ||
- stage: test | ||
script: yarn run build | ||
|
||
deploy: | ||
- provider: npm | ||
email: "[email protected]" | ||
api_key: $NPM_API_KEY | ||
tag: $(node ./build/parse-npm-tag.js ${TRAVIS_TAG}) | ||
skip_cleanup: true | ||
on: | ||
repo: vuetifyjs/vuetify | ||
tags: true | ||
- provider: releases | ||
api_key: $GITHUB_API_KEY | ||
file: "release/vuetify-${TRAVIS_TAG}.zip" | ||
skip_cleanup: true | ||
on: | ||
tags: true | ||
- stage: deploy | ||
before_script: | ||
- npm i codecov -g | ||
script: | ||
- yarn run lint | ||
- yarn run test:coverage -i && codecov | ||
- yarn run build | ||
- rm -rf release | ||
- mkdir -p release | ||
- for file in ./dist/*; do cp "$file" "${file/dist\/vuetify/release/vuetify-${TRAVIS_TAG}}"; done | ||
- zip -jr "release/vuetify-${TRAVIS_TAG}.zip" release/* | ||
deploy: | ||
- provider: npm | ||
email: "[email protected]" | ||
api_key: $NPM_API_KEY | ||
tag: $(node ./build/parse-npm-tag.js ${TRAVIS_TAG}) | ||
skip_cleanup: true | ||
on: | ||
repo: vuetifyjs/vuetify | ||
tags: true | ||
- provider: releases | ||
api_key: $GITHUB_API_KEY | ||
file: "release/vuetify-${TRAVIS_TAG}.zip" | ||
skip_cleanup: true | ||
on: | ||
repo: vuetifyjs/vuetify | ||
tags: true |
Oops, something went wrong.