Skip to content

Commit

Permalink
Merge pull request #12 from plumelo/feature/NEOV-375-polymer-3
Browse files Browse the repository at this point in the history
Upgrade to Polymer 3
  • Loading branch information
Wurper authored Jun 19, 2019
2 parents 4fa17f1 + 30c7b06 commit cc6de80
Show file tree
Hide file tree
Showing 19 changed files with 7,770 additions and 11,479 deletions.
2 changes: 1 addition & 1 deletion .codeclimate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ checks:
plugins:
eslint:
enabled: true
channel: "eslint-4"
channel: "eslint-5"
config:
sanitize_batch: false
extensions:
Expand Down
1 change: 0 additions & 1 deletion .eslintignore
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
/bower_components-1.x/*
/coverage/
121 changes: 1 addition & 120 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -1,122 +1,3 @@
{
"env": {
"browser": true,
"es6": true
},
"extends": "eslint:recommended",
"globals": {
"Cosmoz": false,
"CustomElements": false,
"HTMLImports": false,
"Polymer": false,
"WeakMap": false
},
"parserOptions": {
"ecmaVersion": 6
},
"plugins": [
"html"
],
"rules": {
"accessor-pairs": "warn",
"array-bracket-spacing": [
"error",
"never"
],
"arrow-parens": [
"error",
"as-needed"
],
"arrow-spacing": [
"error",
{ "before": true, "after": true }
],
"brace-style": "error",
"camelcase": "error",
"comma-spacing": [
"error",
{
"after": true
}
],
"comma-style": [
"error",
"last"
],
"curly": [
"error",
"all"
],
"eqeqeq": [
"error",
"smart"
],
"guard-for-in": "error",
"indent": [
"error",
"tab"
],
"key-spacing": [
"error",
{
"afterColon": true,
"beforeColon": false
}
],
"keyword-spacing": [
"error",
{
"before": true
}
],
"no-console": "off",
"no-else-return": "error",
"no-empty": "error",
"no-empty-function": "error",
"no-eval": "error",
"no-extra-bind": "error",
"no-extra-parens": "error",
"no-invalid-this": "error",
"no-labels": "error",
"no-lone-blocks": "error",
"no-lonely-if": "error",
"no-loop-func": "error",
"no-new": "error",
"no-param-reassign": "error",
"no-self-compare": "error",
"no-trailing-spaces": "error",
"no-unused-expressions": "error",
"no-unused-vars": "warn",
"no-use-before-define": "error",
"no-useless-call": "error",
"no-useless-concat": "error",
"one-var": "error",
"one-var-declaration-per-line": [
"error",
"always"
],
"quotes": [
"error",
"single"
],
"radix": "error",
"semi": [
"error",
"always"
],
"space-before-blocks": [
"error",
"always"
],
"space-before-function-paren": [
"error",
{
"anonymous": "always",
"named": "never"
}
],
"space-in-parens": "error",
"space-infix-ops": "error",
"valid-jsdoc": "warn"
}
"extends": "@neovici"
}
3 changes: 0 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
bower_components/
bower_components-1.x/
bower-1.x.json
node_modules/
coverage/
yarn-error.log
Expand Down
38 changes: 23 additions & 15 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,32 +1,40 @@
---
language: node_js
env:
global:
- CC_TEST_REPORTER_ID=a57ca5e66cf9c10852daa735ad4d4eed3dd49e61af2a44768fa73cda1736ceab
- SAUCE_USERNAME=nomego
- secure: Cq9mduOYPHzJz6e1akWScUvOlI7Nbdu/HmcKdPGJdHIpi2oBuQo0WEyFvYoLALkedt45LCiA7HUraLQndDx1jTkLwyhyu+wQPlTjFEYrb5G/JpqB+61v+ewblA0tZfb59RZslEac/tpdOPURLqQceBZLKArGqPfz+Te/eyBR4rzqX4n7hSmuyQtZf97ncdTMazGTy5tpMvnt4ncWYk8UPTzj3qqY2xbwmaj/E2TIFOGjBs2MVson5UPDUM4oyN2YRcYiy3lpqQeucppf+v3SnjwPh8fbDpwVyVPA2Z6/e8oyeF+XZiZdq+s0zjGV5V3j/TBL+/SyiIJULtFqLhK/m770LnGUJusf300w6LB0mptZZlJt+M327Qo5XhuPvCX1Pc+gASm4kc7kb6LAdIFyZKx0rYxO2B55Rf1yd3SgBRA2QNdKzp6Ep0WEf3d714KEDwe2QOefO6iAn+wUkYk+7/y6vnrR4jUWppjZ9xMG6e7V2fghkQnGR6WfBYOOzXQWmaJV98b7D1NmsdnfwvjsH1NdgB4ombBA2YwiApEH4Mc+3G0gnwkaMofqfYhb3cORWGImfm4KuSOXzXw9/BynQ/JUJUzgh2DHnm+KrVgaCrWH5BvZPx3Nbnw8m25gZZbLo2dcrWGuMTF5jX4fVyCZ03uKrpNpOAcF1cP0XmS08yY=
node_js: "lts/*"
dist: xenial

addons:
firefox: latest
apt:
sources:
- google-chrome
packages:
- google-chrome-stable

cache:
yarn: true
directories:
- node_modules
- bower_components
- ".eslintcache"
- "$HOME/.cache/bower"
- .eslintcache
- $HOME/.cache/bower
- $HOME/cc

env:
global:
- CC_TEST_REPORTER_ID=a57ca5e66cf9c10852daa735ad4d4eed3dd49e61af2a44768fa73cda1736ceab
- SAUCE_USERNAME=nomego
- secure: Cq9mduOYPHzJz6e1akWScUvOlI7Nbdu/HmcKdPGJdHIpi2oBuQo0WEyFvYoLALkedt45LCiA7HUraLQndDx1jTkLwyhyu+wQPlTjFEYrb5G/JpqB+61v+ewblA0tZfb59RZslEac/tpdOPURLqQceBZLKArGqPfz+Te/eyBR4rzqX4n7hSmuyQtZf97ncdTMazGTy5tpMvnt4ncWYk8UPTzj3qqY2xbwmaj/E2TIFOGjBs2MVson5UPDUM4oyN2YRcYiy3lpqQeucppf+v3SnjwPh8fbDpwVyVPA2Z6/e8oyeF+XZiZdq+s0zjGV5V3j/TBL+/SyiIJULtFqLhK/m770LnGUJusf300w6LB0mptZZlJt+M327Qo5XhuPvCX1Pc+gASm4kc7kb6LAdIFyZKx0rYxO2B55Rf1yd3SgBRA2QNdKzp6Ep0WEf3d714KEDwe2QOefO6iAn+wUkYk+7/y6vnrR4jUWppjZ9xMG6e7V2fghkQnGR6WfBYOOzXQWmaJV98b7D1NmsdnfwvjsH1NdgB4ombBA2YwiApEH4Mc+3G0gnwkaMofqfYhb3cORWGImfm4KuSOXzXw9/BynQ/JUJUzgh2DHnm+KrVgaCrWH5BvZPx3Nbnw8m25gZZbLo2dcrWGuMTF5jX4fVyCZ03uKrpNpOAcF1cP0XmS08yY=
- NEO_CC_URL=https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64
- NEO_CC=$HOME/cc/cc-test-reporter

before_script:
- curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
- chmod +x ./cc-test-reporter
- ./cc-test-reporter before-build
- yarn run lint
- yarn lint
- ([[ -e $NEO_CC ]] || curl -L $NEO_CC_URL > $NEO_CC) && chmod +x $NEO_CC
- $NEO_CC before-build
script:
- yarn test
after_script:
- ./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT
- yarn test $([ -z "$SAUCE_ACCESS_KEY"] && echo "--skip-plugin sauce")
- $NEO_CC after-build --exit-code $TRAVIS_TEST_RESULT

notifications:
slack:
secure: VEVQ/CF/udC/4pvKXJV68B1/BkNiFjSx5xPH1RdhpKowSusTbxDtbh7/bZu2HEOYaR5QtYZskFE84yeijz32rR8GqybNSy0iBski/7PpNIDajLDi9fHC6ijtS2jz7XWCY48BJaFb+lc9VvBiNaVmwWSvjDHUGXs+vzZg1CxbPHhK6J+JgbNl0AU6TfkVkAMPTDeZY8sKjti4FQ7qYP1Yar/bBj3Za3R1VhoKEbwN0CScN4TDr/1/pEWJYk5wM4FOLOryB3shUnAI2fQ4EgUmrSmSgEYDPlt+JDNcTG/FSe4c0PcI76bfa/PlkxrT9VG91W8f7Gaj1gKK/bPLaK1emXZX1hezn93do3ddZzxz5bGN8HHyskmxzoRTj5+POOco1xIcimU72Km/28F8DCLCjJ6X1L+k1PpDNWXZAjuKMniClsGiSBI5mstNYSxjZ6OjRHuhsuRRpmKY+0QczxpxkypHmL7MmJbU1UWCwDe5x6X+qk7UdbwC2zLGJrrJrLslfVzTSq3tMiehOLvpiCnNDMDGtew5bI0eDV894QWdoO1L66qZYhf0ZebYHOcFa+Wpq/t9J/0k8cPzn/ycBM8uoihrrxVx1scDSqpEgq/0v+Ned8VTOsL1lu9fDkQuc1RMIs77d+znHHj49Tiq/M/WT0wZthFkmYX28kdp6atJOmQ=
Loading

0 comments on commit cc6de80

Please sign in to comment.