I noticed some trailing whitespace has crept into these files. It wasn't caught by pycodestyle because that only checks Python files.
Ideally we'd add a linter that catches these, but I didn't want to take the time to configure one right now, I just want my editor to stop flagging these while I'm working on trying to upgrade jquery versions.
Long term, we'll probably want a meta-linter like prettier or whatever the newest kid on the block is.
I'd second the proposal of prettier - we've made it our standard at work and I've been quite happy with it. I'd also recommend looking at eslint as a way to handle all the things pycodestyle won't check.
I noticed some trailing whitespace has crept into these files. It wasn't caught by
pycodestyle
because that only checks Python files.Ideally we'd add a linter that catches these, but I didn't want to take the time to configure one right now, I just want my editor to stop flagging these while I'm working on trying to upgrade
jquery
versions.Long term, we'll probably want a meta-linter like
prettier
or whatever the newest kid on the block is.