Permalink
Browse files

fix(Minor updates): Fixed some style issues and added eslint

  • Loading branch information...
calebdwilliams committed Oct 28, 2017
1 parent ee1d77a commit a65d72418c74f9a32308ccd1114e27013be8577a
Showing with 539 additions and 2 deletions.
  1. BIN .DS_Store
  2. +37 −0 .eslintrc.js
  3. +500 −0 package-lock.json
  4. +1 −0 package.json
  5. +0 −1 src/AttributeNode.js
  6. +1 −1 src/templiteral.js
BIN +6 KB .DS_Store
Binary file not shown.
@@ -0,0 +1,37 @@
module.exports = {
env: {
browser: true,
es6: true
},
extends: 'eslint:recommended',
parserOptions: {
sourceType: 'module',
ecmaVersion: 8
},
globals: {

},
rules: {
'arrow-spacing': ['error', {
before: true,
after: true
}],
'arrow-body-style': ['error', 'as-needed'],
'comma-spacing': ['error', {
before: false,
after: true
}],
indent: ['error', 2],
'linebreak-style': ['error', 'unix'],
'quotes': ['error', 'single'],
semi: ['error', 'always'],
'no-console': 'off',
'keyword-spacing': ['warn', {
before: true,
after: true
}],
'func-call-spacing': ['error', 'never'],
// 'brace-style': ['warn', '1tbs']
'space-before-blocks': ['warn', 'always']
}
}
Oops, something went wrong.

0 comments on commit a65d724

Please sign in to comment.