Skip to content
This repository has been archived by the owner on Jan 4, 2021. It is now read-only.

Commit

Permalink
[DEV] migrate to Polymer 2
Browse files Browse the repository at this point in the history
  • Loading branch information
Francois-Xavier Gentilhomme committed Sep 19, 2017
1 parent 067e367 commit 999d4db
Show file tree
Hide file tree
Showing 6 changed files with 1,358 additions and 341 deletions.
52 changes: 32 additions & 20 deletions .editorconfig
@@ -1,27 +1,39 @@
# This will be used as default EditorConfig for repos that don't have their own.
# It's saved automatically as you type.
# You can find docs at http://editorconfig.org
[*]
charset=utf-8
end_of_line=lf
insert_final_newline=false
indent_style=space
indent_size=4

root = true
[{.babelrc,.stylelintrc,.eslintrc,jest.config,*.json,*.jsb3,*.jsb2,*.bowerrc}]
indent_style=space
indent_size=2

[*]
[{*.applejs,*.js}]
indent_style=space
indent_size=2

[*.js.flow]
indent_style=space
indent_size=2

[{jshint.json,*.jshintrc}]
indent_style=space
indent_size=2

# Change these settings to your own preference
indent_style = space
indent_size = 4
[{*.jscs.json,*.jscsrc}]
indent_style=space
indent_size=2

# We recommend you to keep these unchanged
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true
[*.scss]
indent_style=space
indent_size=2

[*.md]
trim_trailing_whitespace = false
[*.coffee]
indent_style=space
indent_size=2

[{package,bower}.json]
indent_style = space
indent_size = 2
[{.analysis_options,*.yml,*.yaml}]
indent_style=space
indent_size=2

[Makefile]
indent_style = tab
25 changes: 25 additions & 0 deletions .eslintrc
@@ -0,0 +1,25 @@
{
"extends": "airbnb",
"parserOptions": {
"ecmaVersion": 6,
"sourceType": "module",
"ecmaFeatures": {
"jsx": true
}
},
"rules": {
"semi": 2,
"no-unused-vars" : "off",
"no-plusplus" : "off",
"no-restricted-properties" : "off",
"prefer-template" : "off",
"import/no-extraneous-dependencies" : "off",
"import/prefer-default-export" : "off",
"max-len": ["off", 100, 2, {
"ignoreUrls": true,
"ignoreComments": false,
"ignoreStrings": true,
"ignoreTemplateLiterals": true
}]
}
}
6 changes: 3 additions & 3 deletions bower.json
Expand Up @@ -30,11 +30,11 @@
"!demo/**/*"
],
"dependencies": {
"polymer": "Polymer/polymer#1.9.x",
"polymer": "Polymer/polymer#^2.0.1",
"myscript-common-element": "2.0.0-alpha1",
"KaTeX": "katex#0.7.x"
"KaTeX": "katex#^0.7.1"
},
"devDependencies": {
"iron-component-page": "PolymerElements/iron-component-page#1.1.x"
"iron-component-page": "PolymerElements/iron-component-page#^3.0.0"
}
}

0 comments on commit 999d4db

Please sign in to comment.