We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
path-style
my code:
const obj = { a: { b: 1 }}; const a = 'a'; const b = 'b'; _.has(obj, [a, b])
I applied eslint with --fix option. path-style option is string. That result is following.
--fix
string
_.has(obj, `${a}.${b}`)
_.has(obj, `${a}${b}`)
I tried several case.
a
b
_.has(obj, [a, 'b']);
autofix result is
_.has(obj, `${a}.b`);
_.has(obj, ['a', b]);
_.has(obj, `a${b}`);
The text was updated successfully, but these errors were encountered:
No branches or pull requests
my code:
I applied eslint with
--fix
option.path-style
option isstring
.That result is following.
expected:
actually:
packages
I tried several case.
a
is variable.b
is string.autofix result is
a
is string.b
is variable.autofix result is
The text was updated successfully, but these errors were encountered: