1
0
mirror of https://github.com/oceanprotocol/commons.git synced 2023-03-15 18:03:00 +01:00
commons/.eslintrc

50 lines
1.2 KiB
Plaintext
Raw Normal View History

2019-02-05 15:53:35 +01:00
{
2019-12-16 11:44:14 +01:00
"parser": "@typescript-eslint/parser",
"parserOptions": {
"project": [
"./tsconfig.json",
"./client/tsconfig.json",
"./server/tsconfig.json",
"./cypress/tsconfig.json"
]
},
"extends": [
"oceanprotocol",
"oceanprotocol/react",
"plugin:@typescript-eslint/eslint-recommended",
"plugin:@typescript-eslint/recommended",
"plugin:prettier/recommended",
"prettier/react",
"prettier/standard",
"prettier/@typescript-eslint",
"plugin:cypress/recommended"
],
"plugins": ["@typescript-eslint", "prettier", "cypress"],
"rules": {
"@typescript-eslint/explicit-function-return-type": 0,
"@typescript-eslint/member-delimiter-style": [
"error",
{ "multiline": { "delimiter": "none" } }
2019-02-05 15:53:35 +01:00
],
2019-12-16 11:44:14 +01:00
"@typescript-eslint/no-explicit-any": "off",
"react/no-unescaped-entities": 0,
"react/self-closing-comp": 0,
"react/void-dom-elements-no-children": 0,
"react/jsx-indent": 0,
"react/jsx-indent-props": 0,
"react/jsx-max-props-per-line": 0
},
"env": {
"es6": true,
"browser": true,
"node": true,
"jest": true,
"cypress/globals": true
},
"settings": {
"react": {
"version": "16.10"
2019-02-05 15:53:35 +01:00
}
2019-12-16 11:44:14 +01:00
}
2019-02-05 15:53:35 +01:00
}