eslint-plugin-eslint-plugin icon indicating copy to clipboard operation
eslint-plugin-eslint-plugin copied to clipboard

Pass scope to `getKeyName` util function everywhere it's used

Open bmish opened this issue 3 years ago • 0 comments

This will enable the helper to properly resolve object key names that use variables like:

const FOO = 'some-property-name';
const obj = {
  [FOO] = 'hello world'
}

https://github.com/not-an-aardvark/eslint-plugin-eslint-plugin/blob/067e8aa35d916e97e5091be3cd21f09ff00d77ed/lib/utils.js#L396

bmish avatar Jul 01 '22 23:07 bmish