commons/.eslintrc

44 lines
1.1 KiB
Plaintext
Raw Normal View History

2019-02-05 15:53:35 +01:00
{
"parser": "@typescript-eslint/parser",
"parserOptions": {
2019-09-02 13:11:08 +02:00
"project": [
"./tsconfig.json",
"./client/tsconfig.json",
"./server/tsconfig.json",
"./cypress/tsconfig.json"
]
2019-02-05 15:53:35 +01:00
},
"extends": [
"oceanprotocol",
"oceanprotocol/react",
2019-10-14 10:26:15 +02:00
"plugin:@typescript-eslint/eslint-recommended",
"plugin:@typescript-eslint/recommended",
"plugin:prettier/recommended",
2019-02-05 15:53:35 +01:00
"prettier/react",
2019-02-05 16:41:00 +01:00
"prettier/standard",
"prettier/@typescript-eslint",
"plugin:cypress/recommended"
2019-02-05 15:53:35 +01:00
],
"plugins": ["@typescript-eslint", "prettier", "cypress"],
2019-02-05 15:53:35 +01:00
"rules": {
2019-02-05 16:41:00 +01:00
"@typescript-eslint/explicit-function-return-type": 0,
"@typescript-eslint/member-delimiter-style": [
"error",
{ "multiline": { "delimiter": "none" } }
2019-06-26 19:54:53 +02:00
],
"@typescript-eslint/no-explicit-any": "off"
2019-02-05 17:05:28 +01:00
},
"env": {
2019-02-07 11:28:04 +01:00
"es6": true,
"browser": true,
"node": true,
"jest": true,
"cypress/globals": true
2019-09-02 13:11:08 +02:00
},
"settings": {
"react": {
2019-11-15 11:55:53 +01:00
"version": "16.10"
2019-09-02 13:11:08 +02:00
}
2019-02-05 15:53:35 +01:00
}
}