Skip to content

Commit

Permalink
reworked api
Browse files Browse the repository at this point in the history
  • Loading branch information
Klortho committed Apr 5, 2018
1 parent ae6ce2b commit 4eaf483
Show file tree
Hide file tree
Showing 30 changed files with 2,379 additions and 4,217 deletions.
44 changes: 44 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
module.exports = {
'env': {
'browser': true,
'commonjs': true,
'es6': true,
'node': true,
},
'extends': 'eslint:recommended',
'parserOptions': {
'sourceType': 'module',
},
'rules': {
'comma-dangle': [
'error',
{ 'arrays': 'always-multiline',
'objects': 'always-multiline',
'imports': 'always-multiline',
'exports': 'always-multiline',
'functions': 'never',
},
],
'complexity': [
'error', 6
],
'indent': [
'error', 2,
],
'linebreak-style': [
'error', 'unix',
],
'no-var': [
'error',
],
'quotes': [
'error', 'single',
],
'semi': [
'error', 'always',
],
strict: [
'error', 'global',
],
},
};
6 changes: 4 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
.DS_Store
/demo/bundle.*
/dist/
/build/
/demo/
/.idea/
/node_modules/
npm-debug.log
/test/
_package.js
Loading

0 comments on commit 4eaf483

Please sign in to comment.