tornado-nova/.eslintrc

28 lines
702 B
Plaintext
Raw Permalink Normal View History

2021-06-03 20:56:46 +02:00
{
"env": {
"node": true,
"browser": true,
"es6": true,
"mocha": true
},
"extends": ["eslint:recommended", "plugin:prettier/recommended", "prettier"],
"globals": {
"Atomics": "readonly",
"SharedArrayBuffer": "readonly"
},
"parser": "babel-eslint",
"parserOptions": {
"ecmaVersion": 2018
},
"rules": {
"indent": ["error", 2],
"linebreak-style": ["error", "unix"],
2021-08-19 18:20:02 +02:00
"quotes": ["error", "single", { "avoidEscape": true }],
2021-06-03 20:56:46 +02:00
"semi": ["error", "never"],
"object-curly-spacing": ["error", "always"],
"comma-dangle": ["error", "always-multiline"],
"require-await": "error",
"prettier/prettier": ["error", { "printWidth": 110 }]
}
}