Skip to content

Commit

Permalink
initial
Browse files Browse the repository at this point in the history
  • Loading branch information
pastak committed Dec 1, 2019
1 parent 2c700b6 commit 2bd1fe1
Show file tree
Hide file tree
Showing 11 changed files with 107,045 additions and 1 deletion.
37 changes: 37 additions & 0 deletions .eslintrc.js
@@ -0,0 +1,37 @@
module.exports = {
env: {
browser: true,
es6: true,
},
extends: [
'airbnb-base',
"plugin:@typescript-eslint/eslint-recommended",
"plugin:@typescript-eslint/recommended"
],
globals: {
Atomics: 'readonly',
SharedArrayBuffer: 'readonly',
},
parser: '@typescript-eslint/parser',
parserOptions: {
ecmaVersion: 2018,
sourceType: 'module',
},
plugins: [
'@typescript-eslint',
],
rules: {
"@typescript-eslint/explicit-function-return-type": "off",
"no-param-reassign": "off",
"no-unused-expressions": "off",
"no-unused-vars": "off",
"@typescript-eslint/no-unused-vars": ["error", {
"vars": "all",
"args": "after-used",
"ignoreRestSiblings": true,
"argsIgnorePattern": "^_",
"caughtErrors": "all",
"caughtErrorsIgnorePattern": "^_"
}],
},
};
1 change: 1 addition & 0 deletions .gitignore
@@ -0,0 +1 @@
dist
11 changes: 10 additions & 1 deletion README.md
@@ -1 +1,10 @@
# masawada-element
# masawada-element

```html
<script defer src=''></script>
<masawada-3d
autoRotate
cameraPosition='x,y,z'
rotation='x,y,z'
/>
```
2 changes: 2 additions & 0 deletions example/index.html
@@ -0,0 +1,2 @@
<script defer src='/dist/bundle.js'></script>
<masawada-3d rotation='100, 0, 0'/>

0 comments on commit 2bd1fe1

Please sign in to comment.