Skip to content

Commit

Permalink
Merge pull request #35 from unicef-polymer/develop
Browse files Browse the repository at this point in the history
Develop
  • Loading branch information
acory authored May 4, 2020
2 parents 57ed789 + c004adb commit 30ef53a
Show file tree
Hide file tree
Showing 19 changed files with 4,028 additions and 5,756 deletions.
40 changes: 33 additions & 7 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
{
"extends": ["eslint:recommended", "google"],
"extends": [
"eslint:recommended",
"google"
],
"parserOptions": {
"ecmaVersion": 6
"ecmaVersion": 6,
"sourceType": "module"
},
"env": {
"browser": true
Expand All @@ -12,20 +16,42 @@
"rules": {
"padded-blocks": "off",
"brace-style": "off",
"linebreak-style": "off",
"new-cap": [
"error",
{
"capIsNewExceptions": ["Polymer"],
"capIsNewExceptions": [
"Polymer"
],
"capIsNewExceptionPattern": "^Etools.."
}
],
"no-var": "off",
"require-jsdoc": "off",
"valid-jsdoc": "off",
"comma-dangle": ["error", "never"],
"max-len": ["error", { "code": 120 }],
"camelcase": ["error", {"properties": "never"}],
"arrow-parens": [2, "as-needed", { "requireForBlockBody": true }]
"comma-dangle": [
"error",
"never"
],
"max-len": [
"error",
{
"code": 120
}
],
"camelcase": [
"error",
{
"properties": "never"
}
],
"arrow-parens": [
2,
"as-needed",
{
"requireForBlockBody": true
}
]
},
"globals": {
"moment": true,
Expand Down
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,12 +72,13 @@ Custom property | Description | Default

## Install
```bash
$ bower install --save etools-file
$ npm install --save etools-file
```

## Preview element locally

Install needed dependencies by running: `$ bower install`.
Install needed dependencies by running: `$ npm install`.
Run `polymer analyze -i ./etools-file.js > analysis.json` to generate the file used by the Demo pages.
Make sure you have the [Polymer CLI](https://www.npmjs.com/package/polymer-cli) installed. Then run `$ polymer serve` to serve your element application locally.

## Linting the code
Expand Down
Loading

0 comments on commit 30ef53a

Please sign in to comment.