Closed rgilman closed 6 years ago
Sounds good.
I've done all the file renaming and tested it to make sure it works. I'm going to hold off on the linting until I have better tools in place.
I recommend ESLint for JavaScript... I don't know what the PHP equivalent is.
Looks like PHP_CodeSniffer rules (sniffs) to enforce WordPress coding conventions is what people use. It integrates with VS Code and I suspect with Atom as well.
Now that I'm actually seeing it in the commit, nav-bfc_submenu.php
seems odd to me (and it goes against the recommendation in the cheat sheet). Why not nav-bfc-submenu.php
?
Otherwise those changes look good.
I agree it looks odd. I'll test nav-bfc-submenu.php
locally. If there are no issues, I'd be happy to update.
Cool :-)
We should at least do this for the files we have created or modified.
I did a comparison between BFCom and JointsWP. The issues I found are:
I'm willing to do this clean-up.