Library
React Components / v9 (@fluentui/react-components)
Describe the feature that you would like added
I would like to enable object-shorthand rule in our ESLint config for v9 which is currently disabled:
|
'object-shorthand': 'off', |
Rule enforces shorthands:
var foo = {
x: x,
y: y,
z: z,
};
// ⬇️⬇️⬇️
var foo = {x, y, z};
Have you discussed this feature with our team
No
Additional context
I would like to avoid manual/work suggestions in PR reviews.
Validations
Library
React Components / v9 (@fluentui/react-components)
Describe the feature that you would like added
I would like to enable object-shorthand rule in our ESLint config for v9 which is currently disabled:
fluentui/packages/eslint-plugin/src/configs/core.js
Line 127 in 8d6c673
Rule enforces shorthands:
Have you discussed this feature with our team
No
Additional context
I would like to avoid manual/work suggestions in PR reviews.
Validations