UKHomeOffice / eslint-config-homeoffice

MIT License
0 stars 2 forks source link

camelCase.js or kebab-case.js #12

Open sulthan-ahmed opened 8 years ago

sulthan-ahmed commented 8 years ago

What is the naming standard for js files? I was able to do both without linting stopping me. @merlinc suggested this one

HughePaul commented 8 years ago

different operating systems are inconsistent with file system case-sensitivity, so I think all lowercase, kebab-case, is better for file naming.

sulthan-ahmed commented 8 years ago

good stuff. Looks like there is a bug then because I tried exampleText.js and the linting never caught it