mrdoobapproves icon indicating copy to clipboard operation
mrdoobapproves copied to clipboard

Add standard style

Open Kikobeats opened this issue 8 years ago • 5 comments

https://github.com/feross/standard

created by @feross and used in +3000 packages

Kikobeats avatar Dec 13 '15 10:12 Kikobeats

There's currently an online standard code formatter here

As mentioned https://twitter.com/BlurSpline/status/673316991415926784, I think it's a good addition if there's JSCS rule for it.

zz85 avatar Dec 15 '15 08:12 zz85

There's an eslint config for it. https://github.com/feross/eslint-config-standard/blob/master/eslintrc.json

feross avatar Jan 01 '16 20:01 feross

@feross I'm finally giving standard a shot now that I'm migrating to ESLint.

However, do you know if there's something different I've to do to browserify eslint to get it working with the plugins standard needs in the browser? image

zz85 avatar Nov 15 '16 15:11 zz85

The current version (semi working standard formatter) can be tested here http://zz85.github.io/mrdoobapproves/

zz85 avatar Nov 15 '16 17:11 zz85

@zz85 Some of our rules come from plugins. Those error look related to missing the eslint-plugin-standard and eslint-plugin-promise plugins.

feross avatar Nov 21 '16 01:11 feross