quote-props: consistent-as-needed
This commit is contained in:
parent
3afc38efcb
commit
f82edcd7e7
@ -67,7 +67,7 @@ rules:
|
|||||||
prefer-const: error
|
prefer-const: error
|
||||||
prefer-rest-params: error
|
prefer-rest-params: error
|
||||||
prefer-spread: error
|
prefer-spread: error
|
||||||
quote-props: [error, as-needed]
|
quote-props: [error, consistent-as-needed]
|
||||||
quotes: [error, double, avoid-escape]
|
quotes: [error, double, avoid-escape]
|
||||||
rest-spread-spacing: error
|
rest-spread-spacing: error
|
||||||
semi-spacing: error
|
semi-spacing: error
|
||||||
|
@ -139,7 +139,7 @@ const bracketWraps = {
|
|||||||
"*": "*",
|
"*": "*",
|
||||||
"`": "`",
|
"`": "`",
|
||||||
"~": "~",
|
"~": "~",
|
||||||
_: "_",
|
"_": "_",
|
||||||
};
|
};
|
||||||
|
|
||||||
inputTrap.bind(Object.keys(bracketWraps), function(e) {
|
inputTrap.bind(Object.keys(bracketWraps), function(e) {
|
||||||
|
@ -25,7 +25,7 @@ function fetch(callback) {
|
|||||||
request.get({
|
request.get({
|
||||||
uri: "https://api.github.com/repos/thelounge/thelounge/releases",
|
uri: "https://api.github.com/repos/thelounge/thelounge/releases",
|
||||||
headers: {
|
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
|
"User-Agent": pkg.name + "; +" + pkg.repository.git, // Identify the client
|
||||||
},
|
},
|
||||||
}, (error, response, body) => {
|
}, (error, response, body) => {
|
||||||
|
Loading…
Reference in New Issue
Block a user