mirror of
https://codeberg.org/emersion/gamja.git
synced 2024-11-28 18:26:19 -05:00
lint: turn on @stylistic/js/arrow-parens
This commit is contained in:
parent
69485716a0
commit
cf54beacc2
2 changed files with 2 additions and 1 deletions
|
@ -1716,7 +1716,7 @@ export default class App extends Component {
|
|||
|
||||
if (prefix.startsWith("/")) {
|
||||
let repl = fromList(Object.keys(commands), prefix.slice(1));
|
||||
return repl.map(cmd => "/" + cmd);
|
||||
return repl.map((cmd) => "/" + cmd);
|
||||
}
|
||||
|
||||
// TODO: consider using the CHANTYPES ISUPPORT token here
|
||||
|
|
|
@ -27,6 +27,7 @@ export default [
|
|||
"@stylistic/js/quotes": ["warn", "double"],
|
||||
"@stylistic/js/semi": "warn",
|
||||
"@stylistic/js/comma-dangle": ["warn", "always-multiline"],
|
||||
"@stylistic/js/arrow-parens": "warn",
|
||||
},
|
||||
},
|
||||
];
|
||||
|
|
Loading…
Reference in a new issue