Commit 75377184 authored by Rich Trott's avatar Rich Trott
Browse files

tools: enforce function name matching in linter

ESLint has a `func-name-matching` rule that requires that function names
match the variable or property to which they are being assigned.

The code base currently has 100% compliance with this rule.

Enable the rule to keep it that way.

PR-URL: https://github.com/nodejs/node/pull/9408


Reviewed-By: default avatarRoman Reiss <me@silverwind.io>
Reviewed-By: default avatarColin Ihrig <cjihrig@gmail.com>
Reviewed-By: default avatarMichaël Zasso <targos@protonmail.com>
Reviewed-By: default avatarGibson Fahnestock <gibfahn@gmail.com>
Reviewed-By: default avatarTeddy Katz <teddy.katz@gmail.com>
Reviewed-By: default avatarPrince John Wesley <princejohnwesley@gmail.com>
parent 5cbb7a88
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment