1
1
mirror of https://github.com/leon-ai/leon.git synced 2024-11-10 15:19:18 +03:00
leon/.eslintrc.json

40 lines
913 B
JSON
Raw Normal View History

2019-02-10 15:26:50 +03:00
{
"extends": "airbnb-base",
"env": {
"node": true,
"es6": true,
"browser": true,
"jest/globals": true
},
"globals": {
"io": true,
"webkitSpeechRecognition": true
},
"plugins": [
"import",
"jest"
],
"settings": {
"import/resolver": {
"babel-module": { }
}
},
"rules": {
"no-multi-assign": "off",
"no-trailing-spaces": "off",
"linebreak-style": "off",
"indent": "off",
"strict": "off",
"no-console": "off",
"no-param-reassign": "off",
"no-shadow": "off",
"import/no-extraneous-dependencies": "off",
"import/no-dynamic-require": "off",
"no-underscore-dangle": ["error", { "allowAfterThis": true }],
"space-before-function-paren": ["error", "always"],
"prefer-destructuring": ["error", { "array": true, "object": true }],
"comma-dangle": ["error", "never"],
"semi": ["error", "never"]
}
}