Merge pull request #2285 from thelounge/xpaw/consistent-as-needed

quote-props: consistent-as-needed
This commit is contained in:
Jérémie Astori 2018-03-24 02:29:13 -04:00 committed by GitHub
commit 13768a7d28
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 3 deletions

View File

@ -67,7 +67,7 @@ rules:
prefer-const: error
prefer-rest-params: error
prefer-spread: error
quote-props: [error, as-needed]
quote-props: [error, consistent-as-needed]
quotes: [error, double, avoid-escape]
rest-spread-spacing: error
semi-spacing: error

View File

@ -139,7 +139,7 @@ const bracketWraps = {
"*": "*",
"`": "`",
"~": "~",
_: "_",
"_": "_",
};
inputTrap.bind(Object.keys(bracketWraps), function(e) {

View File

@ -25,7 +25,7 @@ function fetch(callback) {
request.get({
uri: "https://api.github.com/repos/thelounge/thelounge/releases",
headers: {
Accept: "application/vnd.github.v3.html", // Request rendered markdown
"Accept": "application/vnd.github.v3.html", // Request rendered markdown
"User-Agent": pkg.name + "; +" + pkg.repository.git, // Identify the client
},
}, (error, response, body) => {