Parses the options.
@param {RuleContext} context The rule context.
@returns {{version:Range,ignores:Set<string>}} Parsed value.
function parseOptions(context) {
    const raw = context.options[0] || {}
    const filePath = context.getFilename()
    const version = getConfiguredNodeVersion(raw.version, filePath)
    const ignores = new Set(raw.ignores || [])

    return Object.freeze({ version, ignores })
}