scripts/tools/eslint-plugin-prettier-internal-rules/prefer-is-non-empty-array.js/getLengthSelector
const getLengthSelector = (path) =>
  `[${path}.type="MemberExpression"][${path}.property.type="Identifier"][${path}.property.name="length"]`;