Skip to content

Commit

Permalink
Initial commit of version 1.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
jfusco committed Mar 11, 2017
0 parents commit cab81f6
Show file tree
Hide file tree
Showing 44 changed files with 2,740 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .babelrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"presets": [
"es2015",
"stage-0"
],
"plugins": [
["transform-runtime",
{
helpers: false,
polyfill: false,
regenerator: true
}
]
]
}
16 changes: 16 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# This file is for unifying the coding style for different editors and IDEs.

# No .editorconfig files above the root directory
root = true

# All files unicode
[*]
charset = utf-8

# Main styles for our files
[*]
indent_style = tab
end_of_line = lf
trim_trailing_whitespace = true
insert_final_newline = true
indent_size = 4
4 changes: 4 additions & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
/node_modules/
/dist/
/dist-components/
/__tests__/
177 changes: 177 additions & 0 deletions .eslintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,177 @@
{
"parser": "vue-eslint-parser",
"parserOptions": {
"parser": "babel-eslint",
"sourceType": "module",
"allowImportExportEverywhere": false
},
"rules": {
"eqeqeq": [
2,
"allow-null"
],
"no-extra-semi": 2,
"semi": [
0,
"never"
],
"no-cond-assign": 2,
"accessor-pairs": 2,
"no-with": 2,
"no-sparse-arrays": 2,
"vars-on-top": 2,
"no-void": 2,
"no-undef": 2,
"no-caller": 2,
"no-new": 2,
"yoda": 2,
"no-whitespace-before-property": 2,
"no-inner-declarations": 2,
"no-ex-assign": 2,
"no-else-return": 2,
"no-dupe-keys": 2,
"constructor-super": 2,
"no-extra-boolean-cast": 2,
"no-obj-calls": 2,
"no-empty": 2,
"semi-spacing": [
"error",
{
"before": false,
"after": true
}
],
"keyword-spacing": [
"error",
{
"overrides": {
"if": {
"after": true
},
"else": {
"before": true,
"after": true
},
"for": {
"after": false
},
"while": {
"after": false
},
"function": {
"after": true
}
}
}
],
"space-before-function-paren": [
"error",
{
"anonymous": "never",
"named": "never"
}
],
"comma-dangle": [
2,
"never"
],
"comma-style": [
2,
"last"
],
"comma-spacing": [
"error",
{
"before": false,
"after": true
}
],
"quotes": [
2,
"single",
"avoid-escape"
],
"no-trailing-spaces": 2,
"no-lonely-if": 0,
"eol-last": 2,
"no-nested-ternary": 2,
"space-in-parens": [
2,
"never"
],
"brace-style": [
2,
"1tbs",
{
"allowSingleLine": true
}
],
"object-curly-spacing": [
2,
"always",
{
"objectsInObjects": true,
"arraysInObjects": true
}
],
"computed-property-spacing": [
"error",
"never"
],
"block-spacing": [
"error",
"always"
],
"one-var": [
2,
{
"let": "always",
"const": "never"
}
],
"no-spaced-func": 2,
"spaced-comment": 0,
"quote-props": [
2,
"as-needed",
{
"keywords": true
}
],
"linebreak-style": [
"error",
"unix"
],
"guard-for-in": 2,
"prefer-const": 2,
"no-var": 2,
"prefer-arrow-callback": 2,
"no-const-assign": 2,
"arrow-body-style": [
2,
"always"
],
"arrow-parens": [
2,
"as-needed"
],
"arrow-spacing": [
2,
{
"before": true,
"after": true
}
]
},
"globals": {
"console": true,
"alert": true,
"document": true,
"window": true,
"setTimeout": true,
"setInterval": true,
"clearTimeout": true,
"__DEV__": true,
"VERSION": true
}
}
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
/node_modules/
/.idea/
*.DS_Store
npm-debug.log
18 changes: 18 additions & 0 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
/.idea/
/src/example/
/src/component/js/
/docs/
/webpack/
/src/component/index.html
/src/component/index.js
.editorconfig
.babelrc
.eslintignore
.eslintrc
.gitignore
.scsslint.yml
.travis.yml
config.json
gulpfile.babel.js
webpack.config.babel.js
webpack.config.example.babel.js
Loading

0 comments on commit cab81f6

Please sign in to comment.