Skip to content

Commit cc6de80

Browse files
authored
Merge pull request #12 from plumelo/feature/NEOV-375-polymer-3
Upgrade to Polymer 3
2 parents 4fa17f1 + 30c7b06 commit cc6de80

19 files changed

+7770
-11479
lines changed

.codeclimate.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ checks:
4141
plugins:
4242
eslint:
4343
enabled: true
44-
channel: "eslint-4"
44+
channel: "eslint-5"
4545
config:
4646
sanitize_batch: false
4747
extensions:

.eslintignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1 @@
1-
/bower_components-1.x/*
21
/coverage/

.eslintrc.json

Lines changed: 1 addition & 120 deletions
Original file line numberDiff line numberDiff line change
@@ -1,122 +1,3 @@
11
{
2-
"env": {
3-
"browser": true,
4-
"es6": true
5-
},
6-
"extends": "eslint:recommended",
7-
"globals": {
8-
"Cosmoz": false,
9-
"CustomElements": false,
10-
"HTMLImports": false,
11-
"Polymer": false,
12-
"WeakMap": false
13-
},
14-
"parserOptions": {
15-
"ecmaVersion": 6
16-
},
17-
"plugins": [
18-
"html"
19-
],
20-
"rules": {
21-
"accessor-pairs": "warn",
22-
"array-bracket-spacing": [
23-
"error",
24-
"never"
25-
],
26-
"arrow-parens": [
27-
"error",
28-
"as-needed"
29-
],
30-
"arrow-spacing": [
31-
"error",
32-
{ "before": true, "after": true }
33-
],
34-
"brace-style": "error",
35-
"camelcase": "error",
36-
"comma-spacing": [
37-
"error",
38-
{
39-
"after": true
40-
}
41-
],
42-
"comma-style": [
43-
"error",
44-
"last"
45-
],
46-
"curly": [
47-
"error",
48-
"all"
49-
],
50-
"eqeqeq": [
51-
"error",
52-
"smart"
53-
],
54-
"guard-for-in": "error",
55-
"indent": [
56-
"error",
57-
"tab"
58-
],
59-
"key-spacing": [
60-
"error",
61-
{
62-
"afterColon": true,
63-
"beforeColon": false
64-
}
65-
],
66-
"keyword-spacing": [
67-
"error",
68-
{
69-
"before": true
70-
}
71-
],
72-
"no-console": "off",
73-
"no-else-return": "error",
74-
"no-empty": "error",
75-
"no-empty-function": "error",
76-
"no-eval": "error",
77-
"no-extra-bind": "error",
78-
"no-extra-parens": "error",
79-
"no-invalid-this": "error",
80-
"no-labels": "error",
81-
"no-lone-blocks": "error",
82-
"no-lonely-if": "error",
83-
"no-loop-func": "error",
84-
"no-new": "error",
85-
"no-param-reassign": "error",
86-
"no-self-compare": "error",
87-
"no-trailing-spaces": "error",
88-
"no-unused-expressions": "error",
89-
"no-unused-vars": "warn",
90-
"no-use-before-define": "error",
91-
"no-useless-call": "error",
92-
"no-useless-concat": "error",
93-
"one-var": "error",
94-
"one-var-declaration-per-line": [
95-
"error",
96-
"always"
97-
],
98-
"quotes": [
99-
"error",
100-
"single"
101-
],
102-
"radix": "error",
103-
"semi": [
104-
"error",
105-
"always"
106-
],
107-
"space-before-blocks": [
108-
"error",
109-
"always"
110-
],
111-
"space-before-function-paren": [
112-
"error",
113-
{
114-
"anonymous": "always",
115-
"named": "never"
116-
}
117-
],
118-
"space-in-parens": "error",
119-
"space-infix-ops": "error",
120-
"valid-jsdoc": "warn"
121-
}
2+
"extends": "@neovici"
1223
}

.gitignore

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
bower_components/
2-
bower_components-1.x/
3-
bower-1.x.json
41
node_modules/
52
coverage/
63
yarn-error.log

.travis.yml

Lines changed: 23 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,40 @@
1+
---
12
language: node_js
2-
env:
3-
global:
4-
- CC_TEST_REPORTER_ID=a57ca5e66cf9c10852daa735ad4d4eed3dd49e61af2a44768fa73cda1736ceab
5-
- SAUCE_USERNAME=nomego
6-
- 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=
3+
node_js: "lts/*"
4+
dist: xenial
5+
76
addons:
87
firefox: latest
98
apt:
109
sources:
1110
- google-chrome
1211
packages:
1312
- google-chrome-stable
13+
1414
cache:
1515
yarn: true
1616
directories:
1717
- node_modules
18-
- bower_components
19-
- ".eslintcache"
20-
- "$HOME/.cache/bower"
18+
- .eslintcache
19+
- $HOME/.cache/bower
20+
- $HOME/cc
21+
22+
env:
23+
global:
24+
- CC_TEST_REPORTER_ID=a57ca5e66cf9c10852daa735ad4d4eed3dd49e61af2a44768fa73cda1736ceab
25+
- SAUCE_USERNAME=nomego
26+
- 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=
27+
- NEO_CC_URL=https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64
28+
- NEO_CC=$HOME/cc/cc-test-reporter
29+
2130
before_script:
22-
- curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
23-
- chmod +x ./cc-test-reporter
24-
- ./cc-test-reporter before-build
25-
- yarn run lint
31+
- yarn lint
32+
- ([[ -e $NEO_CC ]] || curl -L $NEO_CC_URL > $NEO_CC) && chmod +x $NEO_CC
33+
- $NEO_CC before-build
2634
script:
27-
- yarn test
28-
after_script:
29-
- ./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT
35+
- yarn test $([ -z "$SAUCE_ACCESS_KEY"] && echo "--skip-plugin sauce")
36+
- $NEO_CC after-build --exit-code $TRAVIS_TEST_RESULT
37+
3038
notifications:
3139
slack:
3240
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=

0 commit comments

Comments
 (0)