Skip to content
Permalink
Browse files

chore(node): drop support for Node.js < 4

  • Loading branch information...
blond committed Jul 8, 2016
1 parent d913b28 commit 7ded85c89f15e2c9862a7be798c6e2ed01ed2355
Showing with 10 additions and 18 deletions.
  1. +0 −2 .travis.yml
  2. +3 −5 es3.js
  3. +1 −1 es5.js
  4. +3 −5 es6.js
  5. +1 −1 index.js
  6. +2 −4 package.json
@@ -4,7 +4,5 @@ language: node_js

matrix:
include:
- node_js: "0.10"
- node_js: "0.12"
- node_js: "4"
- node_js: "5"
8 es3.js
@@ -1,10 +1,8 @@
'use strict';

var assign = require('es6-object-assign').assign;

var commonRules = require('./lib/common-rules');
var es3Rules = require('./lib/es3-rules');
const commonRules = require('./lib/common-rules');
const es3Rules = require('./lib/es3-rules');

module.exports = {
rules: assign({}, commonRules, es3Rules)
rules: Object.assign({}, commonRules, es3Rules)
};
2 es5.js
@@ -1,6 +1,6 @@
'use strict';

var commonRules = require('./lib/common-rules');
const commonRules = require('./lib/common-rules');

module.exports = {
rules: commonRules
8 es6.js
@@ -1,10 +1,8 @@
'use strict';

var assign = require('es6-object-assign').assign;

var commonRules = require('./lib/common-rules');
var es6Rules = require('./lib/es6-rules');
const commonRules = require('./lib/common-rules');
const es6Rules = require('./lib/es6-rules');

module.exports = {
rules: assign({}, commonRules, es6Rules)
rules: Object.assign({}, commonRules, es6Rules)
};
@@ -1,5 +1,5 @@
'use strict';

var es6 = require('./es6');
const es6 = require('./es6');

module.exports = es6;
@@ -31,14 +31,12 @@
"es6.js"
],
"engines": {
"node": ">= 0.10"
"node": ">= 4"
},
"peerDependencies": {
"eslint": "^3.0.0"
},
"dependencies": {
"es6-object-assign": "1.0.2"
},
"dependencies": {},
"devDependencies": {
"eslint": "^3.0.0"
},

0 comments on commit 7ded85c

Please sign in to comment.
You can’t perform that action at this time.