Compare commits
3 Commits
v1.0.0-bet
...
unnecessar
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
e3319919a1 | ||
|
|
9dda4ee438 | ||
|
|
9299f79bab |
@@ -323,6 +323,8 @@ export default class App extends Component {
|
|||||||
}
|
}
|
||||||
if (queryParams.debug === "1") {
|
if (queryParams.debug === "1") {
|
||||||
this.debug = true;
|
this.debug = true;
|
||||||
|
} else if (queryParams.debug === "0") {
|
||||||
|
this.debug = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (window.location.hash) {
|
if (window.location.hash) {
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ gamja settings can be overridden using URL query parameters:
|
|||||||
replaced with a randomly generated value)
|
replaced with a randomly generated value)
|
||||||
- `channels`: comma-separated list of channels to join (`#` needs to be escaped)
|
- `channels`: comma-separated list of channels to join (`#` needs to be escaped)
|
||||||
- `open`: [IRC URL] to open
|
- `open`: [IRC URL] to open
|
||||||
- `debug`: if set to 1, debug mode is enabled
|
- `debug`: enable debug logs if set to `1`, disable debug logs if set to `0`
|
||||||
|
|
||||||
Alternatively, the channels can be set with the URL fragment (ie, by just
|
Alternatively, the channels can be set with the URL fragment (ie, by just
|
||||||
appending the channel name to the gamja URL).
|
appending the channel name to the gamja URL).
|
||||||
|
|||||||
@@ -23,11 +23,21 @@ export default [
|
|||||||
destructuredArrayIgnorePattern: "^_",
|
destructuredArrayIgnorePattern: "^_",
|
||||||
}],
|
}],
|
||||||
"no-var": "error",
|
"no-var": "error",
|
||||||
|
"no-eval": "error",
|
||||||
|
"no-implied-eval": "error",
|
||||||
"eqeqeq": "error",
|
"eqeqeq": "error",
|
||||||
"no-invalid-this": "error",
|
"no-invalid-this": "error",
|
||||||
|
"no-extend-native": "error",
|
||||||
"prefer-arrow-callback": "error",
|
"prefer-arrow-callback": "error",
|
||||||
|
"no-implicit-globals": "error",
|
||||||
|
"no-throw-literal": "error",
|
||||||
"no-implicit-coercion": "warn",
|
"no-implicit-coercion": "warn",
|
||||||
"object-shorthand": "warn",
|
"object-shorthand": "warn",
|
||||||
|
"curly": "warn",
|
||||||
|
"no-restricted-syntax": ["warn", {
|
||||||
|
selector: "BlockStatement VariableDeclaration[kind='const']",
|
||||||
|
message: "NOPE",
|
||||||
|
}],
|
||||||
"@stylistic/js/indent": ["warn", "tab"],
|
"@stylistic/js/indent": ["warn", "tab"],
|
||||||
"@stylistic/js/quotes": ["warn", "double"],
|
"@stylistic/js/quotes": ["warn", "double"],
|
||||||
"@stylistic/js/semi": "warn",
|
"@stylistic/js/semi": "warn",
|
||||||
|
|||||||
Reference in New Issue
Block a user