WordPress-ish JavaScript Code Standard – ESlint Config

I’m spending a lot of time with JavaScript these day, and find linting tools to be invaluable for spotting some mistakes. I started off with JShint plugged in to Sublime Text via this JSHint plugin.

More recently I’ve switched to ESlint. It seems to identify more issues and formatting problems than before, is easy to configure, and is also extensible.

I’m gradually tweaking an ESlint configuration file that somewhat matches the WordPress coding standards (with some of my own amendments), and thought I’d release it here:

It’s not perfect yet by any means, so make of it what you can. Hopefully it will improve with time.

PageView 1.5

So my second plugin update in a week, quite a record this year! This time it’s one of the oldest plugins on this site (the readme.txt file said it worked on WordPress 1.3) – PageView.

Enough people were still writing in, all asking the same question – can I make it borderless. Now you can. The plugin has taken a leap into 3.0 and uses the shortcode API, and strips out the stuff that wasn’t being used, while adding a bunch more flexibility.