From f7b94557aaa4c75e5eb22819c3cd9454c2ac3920 Mon Sep 17 00:00:00 2001 From: Shane Duan Date: Sun, 7 Jan 2018 15:54:17 -0800 Subject: [PATCH] Update README.md for standard js linter --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index ca89a60..a19a1d6 100644 --- a/README.md +++ b/README.md @@ -43,9 +43,9 @@ rest in pisces connie the bot (201x - 2017) ## contributing -currently using [vscode](https://code.visualstudio.com/)[repo](https://github.com/Microsoft/vscode) and as such using its default js autoformatting tools. I believe it's pretty standard so if you know that another editor uses the same standard then go wild. +I use [standard js](https://standardjs.com/) as a linter (finally, huh?). just run `npm run lint` before committing (and if you don't, I'll run it before merging anyways). I'm not too attached to any standard specifically so if you can come up with a good reason to switch to another style then I'll consider it. -as a minimum, please don't use too many blank lines or tabs, and keep all variable names sane. don't use anything unreadably terse or minified (whether formatting or code itself) but don't make it super long and boring. I'm not really serious about this project so I won't be too strict about this type of stuff but pls try. +as a minimum, please don't use too many blank lines or tabs, and keep all variable names sane. don't use anything unreadably terse or minified (whether formatting or code itself) but don't make it more verbose than it has to be. I'm not really serious about this project so as long as it passes the standard js linter and isn't too weird I'll let it pass. ### issues & pull requests