mirror of
https://github.com/darksaid98/cadence-discord-bot.git
synced 2026-12-02 14:38:49 +00:00
42 lines
1017 B
JSON
42 lines
1017 B
JSON
{
|
|
"env": {
|
|
"node": true,
|
|
"es2021": true
|
|
},
|
|
"extends": "eslint:recommended",
|
|
"parserOptions": {
|
|
"ecmaVersion": "latest"
|
|
},
|
|
"rules": {
|
|
"indent": ["error", 4],
|
|
"linebreak-style": ["error", "windows"],
|
|
"quotes": ["error", "single"],
|
|
"semi": ["error", "always"],
|
|
"camelcase": [
|
|
"error",
|
|
{
|
|
"properties": "always"
|
|
}
|
|
],
|
|
"array-bracket-spacing": ["error", "never"],
|
|
"object-curly-spacing": ["error", "always"],
|
|
"jsx-quotes": ["error", "prefer-single"],
|
|
"key-spacing": [
|
|
"error",
|
|
{
|
|
"afterColon": true,
|
|
"mode": "minimum"
|
|
}
|
|
],
|
|
"no-trailing-spaces": [
|
|
"error",
|
|
{
|
|
"skipBlankLines": true,
|
|
"ignoreComments": true
|
|
}
|
|
],
|
|
"curly": ["error", "all"],
|
|
"no-console": ["error"]
|
|
}
|
|
}
|