webtorrent / bittorrent-dht

🕸 Simple, robust, BitTorrent DHT implementation
https://webtorrent.io
MIT License
1.23k stars 203 forks source link

Use object shorthand for properties #220

Closed LinusU closed 4 years ago

LinusU commented 4 years ago

What is the purpose of this pull request? (put an "X" next to item)

[ ] Documentation update [ ] Bug fix [ ] New feature [x] Other, please explain: lint update

What changes did you make? (Give an overview)

I started using object shorthand for properties, that is, I changed eslint: eslint to eslint.

Which issue (if any) does this pull request address?

https://github.com/standard/eslint-config-standard/pull/166

Is there anything you'd like reviewers to focus on?

n/a


Compatibility: This syntax is supported in Node.js >=4, and it seems like Node.js 6.x is the minimum supported version as of c2771fa3664536b6405dbedfb7731de83d313472/9.0.0 ✅

feross commented 4 years ago

@LinusU I just merged a refactor to ES6 so this PR doesn't apply cleanly any more. Can you resend it? Sorry for the trouble.

LinusU commented 4 years ago

Neat! Latest master passes so no need to do anything more 👍