Skip to content

Commit

Permalink
Merge pull request #88 from plumelo/feature/NEOV-372-polymer-3
Browse files Browse the repository at this point in the history
Upgrade to Polymer 3
  • Loading branch information
Wurper authored Jun 20, 2019
2 parents 761941a + 5636257 commit 96cc771
Show file tree
Hide file tree
Showing 27 changed files with 4,150 additions and 3,026 deletions.
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/
299 changes: 2 additions & 297 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -1,298 +1,3 @@
{
"env": {
"browser": true,
"es6": true
},
"extends": "eslint:recommended",
"globals": {
"Cosmoz": false,
"CustomElements": false,
"HTMLImports": false,
"Polymer": false,
"WeakMap": false
},
"plugins": [
"html"
],
"rules": {
"accessor-pairs": "warn",
"array-bracket-newline": [
"error",
"consistent"
],
"array-bracket-spacing": [
"error",
"never"
],
"array-element-newline": [
"error",
"consistent"
],
"array-callback-return": "warn",
"arrow-parens": [
"error",
"as-needed"
],
"arrow-spacing": [
"error",
{
"before": true,
"after": true
}
],
"block-scoped-var": "error",
"block-spacing": "error",
"brace-style": "error",
"camelcase": "error",
"comma-dangle": [
"error",
"never"
],
"comma-spacing": [
"error",
{
"after": true,
"before": false
}
],
"comma-style": [
"error",
"last"
],
"complexity": [
"warn",
20
],
"computed-property-spacing": [
"error",
"never"
],
"consistent-this": [
"error",
"that"
],
"constructor-super": "error",
"curly": [
"error",
"all"
],
"eol-last": [
"error",
"always"
],
"eqeqeq": [
"error",
"smart"
],
"func-call-spacing": [
"error",
"never"
],
"func-name-matching": [
"error",
"always"
],
"func-names": [
"error",
"never"
],
"func-style": [
"error",
"expression"
],
"guard-for-in": "error",
"indent": [
"error",
"tab"
],
"key-spacing": [
"error",
{
"afterColon": true,
"beforeColon": false,
"mode": "strict"
}
],
"keyword-spacing": [
"error",
{
"after": true,
"before": true
}
],
"max-depth": [
"error",
4
],
"max-len": [
"warn",
{
"code": 160,
"tabWidth": 4
}
],
"max-lines": [
"warn",
350
],
"max-lines-per-function": [
"warn",
{
"max": 50,
"IIFEs": false,
"skipComments": true
}
],
"max-nested-callbacks": [
"error",
5
],
"max-params": [
"error",
5
],
"max-statements": [
"warn",
15
],
"max-statements-per-line": [
"error",
{
"max": 1
}
],
"multiline-ternary": [
"error",
"always-multiline"
],
"new-cap": [
"warn",
{
"capIsNew": true,
"newIsCap": true
}
],
"new-parens": "error",
"newline-per-chained-call": [
"error",
{
"ignoreChainWithDepth": 3
}
],
"no-alert": "error",
"no-bitwise": "warn",
"no-console": "off",
"no-const-assign": "error",
"no-dupe-class-members": "error",
"no-duplicate-imports": "error",
"no-else-return": "error",
"no-empty": "error",
"no-empty-function": "error",
"no-eval": "error",
"no-extra-bind": "error",
"no-extra-parens": "error",
"no-global-assign": "error",
"no-implicit-globals": "error",
"no-invalid-this": "error",
"no-labels": "error",
"no-lone-blocks": "error",
"no-lonely-if": "error",
"no-loop-func": "error",
"no-multi-spaces": "error",
"no-new": "error",
"no-new-func": "error",
"no-nested-ternary": "error",
"no-param-reassign": "error",
"no-redeclare": "error",
"no-return-assign": "error",
"no-self-compare": "error",
"no-sequences": "error",
"no-template-curly-in-string": "error",
"no-this-before-super": "error",
"no-throw-literal": "error",
"no-trailing-spaces": "error",
"no-undef-init": "error",
"no-unmodified-loop-condition": "error",
"no-unneeded-ternary": "error",
"no-unused-expressions": "error",
"no-unused-vars": "error",
"no-use-before-define": "error",
"no-useless-call": "error",
"no-useless-catch": "error",
"no-useless-computed-key": "error",
"no-useless-concat": "error",
"no-useless-return": "error",
"no-var": "error",
"no-void": "error",
"no-whitespace-before-property": "error",
"no-with": "error",
"object-curly-newline": [
"error",
{
"consistent": true
}
],
"object-property-newline": [
"error",
{
"allowAllPropertiesOnSameLine": true
}
],
"object-shorthand": [
"error",
"always"
],
"one-var": [
"error",
{
"var": "always",
"let": "always"
}
],
"one-var-declaration-per-line": [
"error",
"always"
],
"prefer-arrow-callback": "error",
"prefer-const": "warn",
"quotes": [
"error",
"single"
],
"radix": "error",
"require-unicode-regexp": "error",
"semi": [
"error",
"always"
],
"semi-spacing": [
"error",
{
"before": false,
"after": true
}
],
"semi-style": [
"error",
"last"
],
"space-before-blocks": [
"error",
"always"
],
"space-before-function-paren": [
"error",
{
"anonymous": "always",
"asyncArrow": "always",
"named": "never"
}
],
"space-in-parens": "error",
"space-infix-ops": "error",
"space-unary-ops": "error",
"strict": "error",
"switch-colon-spacing": "error",
"valid-jsdoc": "warn"
}
}
"extends": "@neovici"
}
5 changes: 1 addition & 4 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
bower_components/
bower_components-1.x/
bower-1.x.json
node_modules/
coverage/
debug.log
yarn-error.log
.eslintcache/
.eslintcache
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
language: node_js
node_js: "lts/*"
dist: xenial

addons:
firefox: latest
Expand All @@ -14,7 +15,6 @@ cache:
yarn: true
directories:
- node_modules
- bower_components
- .eslintcache
- $HOME/.cache/bower
- $HOME/cc
Expand Down
Loading

0 comments on commit 96cc771

Please sign in to comment.