Skip to content

Commit

Permalink
chore: add class properties plugin, rename eslint config
Browse files Browse the repository at this point in the history
  • Loading branch information
Ilya Radchenko committed Feb 23, 2017
1 parent 645bacf commit cb4368f
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 14 deletions.
3 changes: 2 additions & 1 deletion .babelrc
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
"plugins": [
"transform-decorators-legacy",
"transform-es2015-modules-commonjs",
"transform-async-to-generator"
"transform-async-to-generator",
"transform-class-properties"
]
}
13 changes: 0 additions & 13 deletions .eslintrc

This file was deleted.

13 changes: 13 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
module.exports = {
extends: 'standard',
parser: 'babel-eslint',

env: {
'es6': true,
'node': true
},

rules: {
'eol-last': false
}
}
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@
"babel-eslint": "^7.1.1",
"babel-istanbul": "^0.12.1",
"babel-plugin-transform-async-to-generator": "^6.8.0",
"babel-plugin-transform-class-properties": "^6.23.0",
"babel-plugin-transform-decorators": "^6.13.0",
"babel-plugin-transform-decorators-legacy": "^1.3.4",
"babel-plugin-transform-es2015-modules-commonjs": "^6.11.5",
Expand Down

0 comments on commit cb4368f

Please sign in to comment.