Skip to content

Commit

Permalink
removed es6-symbol completely, unneeded without for-of
Browse files Browse the repository at this point in the history
  • Loading branch information
benmosher committed Jul 7, 2016
1 parent 35891cf commit f9cf7a0
Show file tree
Hide file tree
Showing 8 changed files with 3 additions and 13 deletions.
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,6 @@
"doctrine": "1.2.x",
"es6-map": "^0.1.3",
"es6-set": "^0.1.4",
"es6-symbol": "^3.1.0",
"eslint-import-resolver-node": "^0.2.0",
"lodash.cond": "^4.3.0",
"lodash.endswith": "^4.0.1",
Expand Down
1 change: 0 additions & 1 deletion src/core/getExports.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import 'es6-symbol/implement'
import Map from 'es6-map'

import * as fs from 'fs'
Expand Down
1 change: 0 additions & 1 deletion src/core/resolve.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import 'es6-symbol/implement'
import Map from 'es6-map'
import Set from 'es6-set'
import assign from 'object-assign'
Expand Down
1 change: 0 additions & 1 deletion src/rules/namespace.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import 'es6-symbol/implement'
import Map from 'es6-map'

import Exports from '../core/getExports'
Expand Down
1 change: 0 additions & 1 deletion src/rules/no-duplicates.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import 'es6-symbol/implement'
import Map from 'es6-map'
import Set from 'es6-set'

Expand Down
1 change: 0 additions & 1 deletion src/rules/no-named-as-default-member.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
* See LICENSE in root directory for full license.
*/

import 'es6-symbol/implement'
import Map from 'es6-map'

import Exports from '../core/getExports'
Expand Down
2 changes: 0 additions & 2 deletions src/rules/no-unresolved.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@
* @author Ben Mosher
*/

import 'es6-symbol/implement'

import resolve from '../core/resolve'

module.exports = function (context) {
Expand Down
8 changes: 3 additions & 5 deletions tests/src/package.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
import 'es6-symbol/implement'

var expect = require('chai').expect

var path = require('path')
Expand Down Expand Up @@ -36,10 +34,10 @@ describe('package', function () {
it('exports all configs', function (done) {
fs.readdir(path.join(process.cwd(), 'config'), function (err, files) {
if (err) { done(err); return }
for (let file of files) {
if (file[0] === '.') continue
files.forEach(file => {
if (file[0] === '.') return
expect(module.configs).to.have.property(file.slice(0, -3)) // drop '.js'
}
})
done()
})
})
Expand Down

0 comments on commit f9cf7a0

Please sign in to comment.