mirror of
https://github.com/tornadocash/tornado-core.git
synced 2024-11-21 17:27:06 +01:00
28 lines
677 B
Plaintext
28 lines
677 B
Plaintext
{
|
|
"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"],
|
|
"quotes": ["error", "single"],
|
|
"semi": ["error", "never"],
|
|
"object-curly-spacing": ["error", "always"],
|
|
"comma-dangle": ["error", "always-multiline"],
|
|
"require-await": "error",
|
|
"prettier/prettier": ["error", { "printWidth": 110 }]
|
|
}
|
|
}
|