Skip to content

Commit

Permalink
bug fix & release v1.0.4
Browse files Browse the repository at this point in the history
  • Loading branch information
roland-reed committed Aug 29, 2017
1 parent 06ce6aa commit 45b7671
Show file tree
Hide file tree
Showing 32 changed files with 2,898 additions and 3,162 deletions.
23 changes: 13 additions & 10 deletions .babelrc
Original file line number Diff line number Diff line change
@@ -1,10 +1,13 @@
{

"presets": ["es2015", "stage-0", "react"],
"plugins": ["syntax-async-generators", ["transform-runtime", {
"helpers": false,
"polyfill": false,
"regenerator": true,
"moduleName": "babel-runtime"
}]]
}
{
"presets": [
["es2015",{ "modules": false }], "react"
],

"plugins": [
[
"transform-es2015-classes", {
"loose": true
}
]
]
}
111 changes: 45 additions & 66 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,67 +1,46 @@
module.exports = {
parser: 'babel-eslint',
extends: 'eslint:recommended',
plugins: [
'react'
],
env: {
browser: true,
mocha: true,
node: true,
es6: true
},
parserOptions: {
ecmaFeatures: {
modules: true,
jsx: true
}
},
globals: {
sinon: true,
expect: true
},
rules: {
'react/jsx-uses-react': 2,
'react/jsx-uses-vars': 2,
'no-unused-vars': [1, { varsIgnorePattern: '^h$' }],
'no-cond-assign': 1,
'no-empty': 0,
'no-console': 1,
semi: 2,
camelcase: 0,
'comma-style': 2,
'comma-dangle': [2, 'never'],
// indent: [2, 'spaces', {SwitchCase: 1}],
"indent": ["error", 4, {SwitchCase: 1}],
'no-mixed-spaces-and-tabs': [2, 'smart-tabs'],
'no-trailing-spaces': [2, { skipBlankLines: true }],
'max-nested-callbacks': [2, 3],
'no-eval': 2,
'no-implied-eval': 2,
'no-new-func': 2,
'guard-for-in': 0,
eqeqeq: 0,
'no-else-return': 2,
'no-redeclare': 2,
'no-dupe-keys': 2,
radix: 2,
strict: [2, 'never'],
'no-shadow': 0,
'callback-return': [1, ['callback', 'cb', 'next', 'done']],
'no-delete-var': 2,
'no-undef-init': 2,
'no-shadow-restricted-names': 2,
'handle-callback-err': 0,
'no-lonely-if': 2,
'keyword-spacing': 2,
'constructor-super': 2,
'no-this-before-super': 2,
'no-dupe-class-members': 2,
'no-const-assign': 2,
'prefer-spread': 2,
'no-useless-concat': 2,
'no-var': 2,
'object-shorthand': 2,
'prefer-arrow-callback': 2
}
};
"env": {
"browser": true,
"commonjs": true,
"es6": true,
"node": true
},
"extends": "eslint:recommended",
"parser": "babel-eslint",
"parserOptions": {
"ecmaFeatures": {
"experimentalObjectRestSpread": true,
"jsx": true
},
"sourceType": "module"
},
"plugins": [
"react"
],
"globals": {
define: true
},
"rules": {
"indent": [
"error",
2
],
"linebreak-style": [
"error",
"unix"
],
"quotes": [
"error",
"double"
],
"semi": [
"error",
"always"
],
"comma-dangle": [
"error",
"never"
],
"strict": 0
}
};
50 changes: 6 additions & 44 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,78 +1,40 @@
# qzz/fekit/grunt

/ver/

/loc/

/dev/

/prd/

/refs/

/dll/

/node_modules/

# kdiff3 ignore

# kdiff3 ignore
*.orig


# maven ignore

target/


# eclipse ignore

.settings/

.project

.classpath


# idea ignore

.idea/

*.ipr

*.iml

*.iws


# temp ignore

*.log

*.cache

*.diff

*.patch

*.tmp


# system ignore

.DS_Store

Thumbs.db


# package ignore (optional)

# *.jar

# *.war

# *.zip

# *.tar

# *.tar.gz

*node_modules*
__tmp__*
/lib/*

/coverage
1 change: 0 additions & 1 deletion .npmignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,4 @@
/test/
/scripts/
/examples/
/coverage/
.babelrc
Loading

0 comments on commit 45b7671

Please sign in to comment.