•  
      request #11280 eslint overrides do not work in pre-commit hook
    Infos
    #11280
    Joris MASSON (jmasson)
    2018-03-20 16:00
    2018-03-19 15:21
    11614
    Details
    eslint overrides do not work in pre-commit hook
    When we introduced cypress, eslint pre-commit hook would not validate those files despite having correctly defined global vars through env.
    This is caused by the fact that we use the eslintrc config in tuleap root to validate files in a TMP directory. Glob-based overrides only apply to relative paths below the config's folder root. Which means they don't apply during the pre-commit hook :/
    Other
    9.18
    Empty
    • [ ] enhancement
    • [x] internal improvement
    Empty
    Stage
    Empty
    Closed
    2018-03-20
    Attachments
    Empty
    References

    Follow-ups