Choices/.eslintrc

53 lines
865 B
Plaintext
Raw Normal View History

2016-03-15 15:04:53 +01:00
{
"parser": "babel-eslint",
"extends": [
"airbnb",
"prettier"
],
"plugins": [
2018-10-10 13:36:43 +02:00
"prettier",
"cypress"
],
2016-03-15 15:04:53 +01:00
"env": {
"es6": true,
2016-03-15 15:04:53 +01:00
"browser": true,
2017-08-16 14:08:14 +02:00
"node": true,
2018-10-10 14:27:58 +02:00
"mocha": true,
"cypress/globals": true
2016-03-15 15:04:53 +01:00
},
2017-07-24 16:18:43 +02:00
"globals": {
"describe": true,
"it": true,
"before": true,
"after": true,
"beforeEach": true,
"afterEach": true
2017-07-24 16:18:43 +02:00
},
2016-03-15 15:04:53 +01:00
"rules": {
2018-10-10 13:36:43 +02:00
"import/no-extraneous-dependencies": [
"error",
{
"devDependencies": true
}
],
"no-console": [
"warn",
{
"allow": [
"warn",
"error"
]
}
],
2018-05-28 18:56:36 +02:00
"no-plusplus": "off",
"no-unused-expressions": "off",
"no-underscore-dangle": "off",
2018-10-10 13:36:43 +02:00
"prettier/prettier": [
"error",
{
"singleQuote": true,
"trailingComma": "all"
}
]
2017-08-14 14:39:07 +02:00
}
2018-10-10 13:36:43 +02:00
}