-
Notifications
You must be signed in to change notification settings - Fork 41
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #320 from EnviDat/build/upgrade_ol_v6.15.7
Merge Vue CLI updates & upgrade to OpenLayers v6.15.7
- Loading branch information
Showing
139 changed files
with
33,885 additions
and
14,165 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
> 1% | ||
last 2 versions | ||
not dead |
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,4 +1,6 @@ | ||
app/ | ||
dist/ | ||
node_modules/ | ||
test/unit/coverage/ | ||
tests/unit/coverage/ | ||
.git/ |
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,9 +1,5 @@ | ||
root = true | ||
|
||
[*] | ||
charset = utf-8 | ||
[*.{js,jsx,ts,tsx,vue}] | ||
indent_style = space | ||
indent_size = 2 | ||
end_of_line = lf | ||
insert_final_newline = true | ||
trim_trailing_whitespace = true | ||
insert_final_newline = true |
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,2 +1,3 @@ | ||
build/*.js | ||
config/*.js | ||
/build/ | ||
/config/ | ||
/test/unit/coverage/ |
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,44 +1,48 @@ | ||
// http://eslint.org/docs/user-guide/configuring | ||
|
||
module.exports = { | ||
root: true, | ||
parser: 'babel-eslint', | ||
parserOptions: { | ||
sourceType: 'module' | ||
}, | ||
env: { | ||
browser: true, | ||
node: true | ||
}, | ||
// https://github.com/standard/standard/blob/master/docs/RULES-en.md | ||
extends: 'standard', | ||
// required to lint *.vue files | ||
plugins: [ | ||
'html' | ||
extends: [ | ||
// consider switching to `plugin:vue/strongly-recommended` or `plugin:vue/recommended` for stricter rules. | ||
'plugin:vue/essential', | ||
'@vue/standard' | ||
], | ||
// add your custom rules here | ||
'rules': { | ||
// allow paren-less arrow functions | ||
'arrow-parens': 'off', | ||
// allow async-await | ||
'generator-star-spacing': 'off', | ||
// allow debugger during development | ||
rules: { | ||
/* eslint-disable quote-props */ | ||
// 'no-console': process.env.NODE_ENV === 'production' ? 'warn' : 'off', | ||
'no-debugger': process.env.NODE_ENV === 'production' ? 'error' : 'off', | ||
|
||
// allow semicolons and the end of a statement | ||
'semi': 'off', | ||
|
||
// weaken some rules in development mode | ||
'no-multiple-empty-lines': process.env.NODE_ENV === 'development' ? 'warn' : 'error', | ||
'no-unused-vars': process.env.NODE_ENV === 'development' ? 'warn' : 'error', | ||
'space-before-blocks': process.env.NODE_ENV === 'development' ? 'warn' : 'error', | ||
'space-before-function-paren': process.env.NODE_ENV === 'development' ? 'warn' : 'error', | ||
'object-curly-spacing': process.env.NODE_ENV === 'development' ? 'warn' : 'error', | ||
'indent': process.env.NODE_ENV === 'development' ? 'warn' : 'error', | ||
'comma-dangle': process.env.NODE_ENV === 'development' ? 'warn' : 'error', | ||
'comma-spacing': process.env.NODE_ENV === 'development' ? 'warn' : 'error', | ||
'quotes': process.env.NODE_ENV === 'development' ? 'warn' : 'error', | ||
'object-curly-spacing': process.env.NODE_ENV === 'development' ? 'warn' : 'error', | ||
'padded-blocks': process.env.NODE_ENV === 'development' ? 'warn' : 'error', | ||
'keyword-spacing': process.env.NODE_ENV === 'development' ? 'warn' : 'error', | ||
'arrow-spacing': process.env.NODE_ENV === 'development' ? 'warn' : 'error' | ||
} | ||
'no-multiple-empty-lines': process.env.NODE_ENV === 'development' ? 'warn' : 'error', | ||
'no-unused-vars': process.env.NODE_ENV === 'development' ? 'warn' : 'error', | ||
'space-before-blocks': process.env.NODE_ENV === 'development' ? 'warn' : 'error', | ||
'space-before-function-paren': process.env.NODE_ENV === 'development' ? 'warn' : 'error', | ||
'object-curly-spacing': process.env.NODE_ENV === 'development' ? 'warn' : 'error', | ||
'indent': process.env.NODE_ENV === 'development' ? 'warn' : 'error', | ||
'comma-dangle': process.env.NODE_ENV === 'development' ? 'warn' : 'error', | ||
'comma-spacing': process.env.NODE_ENV === 'development' ? 'warn' : 'error', | ||
'quotes': process.env.NODE_ENV === 'development' ? 'warn' : 'error', | ||
'padded-blocks': process.env.NODE_ENV === 'development' ? 'warn' : 'error', | ||
'keyword-spacing': process.env.NODE_ENV === 'development' ? 'warn' : 'error', | ||
'arrow-spacing': process.env.NODE_ENV === 'development' ? 'warn' : 'error' | ||
/* eslint-enable quote-props */ | ||
}, | ||
parserOptions: { | ||
parser: '@babel/eslint-parser' | ||
}, | ||
overrides: [ | ||
{ | ||
files: [ | ||
'**/__tests__/*.{j,t}s?(x)', | ||
'**/tests/unit/**/*.spec.{j,t}s?(x)' | ||
], | ||
env: { | ||
mocha: true | ||
} | ||
} | ||
] | ||
} |
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,14 +1,27 @@ | ||
.DS_Store | ||
node_modules/ | ||
dist/ | ||
node_modules | ||
/dist | ||
|
||
|
||
# local env files | ||
.env.local | ||
.env.*.local | ||
|
||
# Log files | ||
npm-debug.log* | ||
yarn-debug.log* | ||
yarn-error.log* | ||
test/unit/coverage | ||
pnpm-debug.log* | ||
|
||
# Unit tests coverage reports | ||
test/unit/coverage/ | ||
tests/unit/coverage/ | ||
|
||
# Editor directories and files | ||
.idea | ||
.vscode | ||
*.suo | ||
*.ntvs* | ||
*.njsproj | ||
*.sln | ||
*.sln | ||
*.sw? |
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 was deleted.
Oops, something went wrong.
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
Oops, something went wrong.