BibleGet-I-O / bibleget-wordpress

Plugin for WordPress that let's you insert Bible quotes into your posts or pages from a variety of Bible versions in different languages. This is a mirror of the SVN repo where the plugin gets published to the WordPress plugins store. Kudos to @kas-catholic for helping import the repo from SVN.
https://www.bibleget.io
Apache License 2.0
0 stars 2 forks source link

Implement WordPress codesniffing #26

Open JohnRDOrazio opened 1 month ago

JohnRDOrazio commented 1 month ago

I haven't used any linting until now. Perhaps the time has come to start creating standards, so that the coding style follows a given and expected style. Seeing that WordPress has implementing it's own set of linting rules, we should probably follow those as closely as possible seeing this is a WordPress plugin.

There are a few rules that I really like compared to the PSR-12 standards, such as:

There are just a few rules here and there that I don't quite agree with, and I'm going to disable them:

JohnRDOrazio commented 1 month ago

Currently being handled in the oop-dev branch.