Cli: Consistent filename case

Created on 16 Oct 2020  路  2Comments  路  Source: netlify/cli

The CLI uses a kebab-case convention, while @netlify/build uses snake_case.
Should we keep it consistent between projects? If so, which one should we use?
I personally think snake_case is more idiomatic in Node.js, but I'm fine with any case, as long as we're consistent. What do you think @erezrokah?

Note: both currently lint this using the unicorn/filename-case ESLint rule, but with different options.

pronode-linting chore

Most helpful comment

Going to do this once we clear most of the CLI pending PRs

All 2 comments

Let's go with snake_case

Going to do this once we clear most of the CLI pending PRs

Was this page helpful?
0 / 5 - 0 ratings