Choices/.eslintrc
Josh Johnson f597bc9aff
Remove travis (#667)
* Remove travis.yml

* Remove versioning from index file

* Resolve linting issues

* Resolve further linting issues

* Uppercase NPM_TOKEN

* Run audit fix

* Update postversion command

* Update @babel/core to latest

* Update post version command

* Housekeeping

* Revert cypress upgrade

* Enforce cypress version

* Update package.lock

* Add cypress project id
2019-10-21 20:03:57 +01:00

57 lines
1 KiB
Plaintext

{
"parserOptions": {
"ecmaVersion": 2020
},
"extends": ["airbnb-base", "prettier"],
"plugins": ["prettier"],
"env": {
"es6": true,
"browser": true
},
"rules": {
"import/no-extraneous-dependencies": [
"error",
{
"devDependencies": true
}
],
"no-console": [
"warn",
{
"allow": ["warn", "error"]
}
],
"no-plusplus": "off",
"no-unused-expressions": "off",
"no-underscore-dangle": "off",
"consistent-return": "off",
"prettier/prettier": [
"error",
{
"singleQuote": true,
"trailingComma": "all"
}
],
"import/no-useless-path-segments": "warn",
"prefer-destructuring": ["warn", {
"array": false,
"object": true
}]
},
"overrides": [
{
"files": ["*.test.js"],
"env": {
"mocha": true
}
},
{
"files": ["cypress/**/*.spec.js"],
"plugins": ["cypress"],
"env": {
"cypress/globals": true
}
}
]
}