tornado-governance/.eslintrc

28 lines
677 B
Plaintext
Raw Normal View History

2020-12-15 16:07:50 +01:00
{
"env": {
"node": true,
"browser": true,
"es6": true,
"mocha": true
},
2021-11-08 21:22:55 +01:00
"extends": ["eslint:recommended", "plugin:prettier/recommended", "prettier"],
2020-12-15 16:07:50 +01:00
"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"],
2021-11-08 21:22:55 +01:00
"require-await": "error",
"prettier/prettier": ["error", { "printWidth": 110 }]
2020-12-15 16:07:50 +01:00
}
}