fisker Cheung

Results 1279 comments of fisker Cheung

> Why cannot new Symbol() be auto-fixed? I guess I was overthinking.

I think we should also enforce `Object.keys` over `Object.entries` in this case ```js for (const [key] of Object.entries(foo)) { bar(key); } ``` So better come up a better name cover...

`proper-object-iterable-methods`?

> for..in is safe if you know its an object literal. No, it's not. ```js Object.prototype.map = () => {} for (const key in {x: 42}) { console.log(key) } ```

`` `import "lib-add-method-to-object-prototype-but-forgot-set-non-enumerable"`

Does `export {default as MyJsonFile} from './myJsonFile.json';` work?

maybe related Can't load `ava` plugin in https://github.com/sindresorhus/eslint-plugin-unicorn/pull/387 But only fails on CI https://travis-ci.org/sindresorhus/eslint-plugin-unicorn/jobs/595170571

> Does this also fix #555? I'm not sure, but I don't think this will fix that, the `typescript` can be installed in a location that `@typescript-eslint/parser` can't find it....