2017-11-17 18:05:13 +01:00
|
|
|
{
|
2018-10-11 12:22:11 +02:00
|
|
|
"extends": ["airbnb-base", "prettier"],
|
2017-11-23 00:59:16 +01:00
|
|
|
"parserOptions": {
|
2019-09-09 08:51:30 +02:00
|
|
|
"ecmaVersion": "2020",
|
2017-11-23 00:59:16 +01:00
|
|
|
"ecmaFeatures": {
|
|
|
|
"jsx": true,
|
|
|
|
"modules": true
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"settings": {
|
|
|
|
"react": {
|
2019-01-27 04:34:07 +01:00
|
|
|
"pragma": "h",
|
|
|
|
"version": "15.0"
|
2018-06-15 17:17:46 +02:00
|
|
|
},
|
|
|
|
"import/resolver": {
|
|
|
|
"webpack": {
|
|
|
|
"config": "webpack.config.js"
|
|
|
|
}
|
2017-11-23 00:59:16 +01:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"globals": {
|
|
|
|
"__DEV__": false,
|
2019-01-19 06:24:32 +01:00
|
|
|
"__DEMO__": false,
|
2017-11-23 00:59:16 +01:00
|
|
|
"__BUILD__": false,
|
2018-01-27 08:27:11 +01:00
|
|
|
"__VERSION__": false,
|
2018-08-21 08:59:54 +02:00
|
|
|
"__STATIC_PATH__": false,
|
2017-11-23 00:59:16 +01:00
|
|
|
"Polymer": true,
|
2018-01-21 06:47:15 +01:00
|
|
|
"webkitSpeechRecognition": false,
|
|
|
|
"ResizeObserver": false
|
2017-11-23 00:59:16 +01:00
|
|
|
},
|
|
|
|
"env": {
|
2017-11-25 06:01:15 +01:00
|
|
|
"browser": true,
|
|
|
|
"mocha": true
|
2017-11-23 00:59:16 +01:00
|
|
|
},
|
|
|
|
"rules": {
|
|
|
|
"class-methods-use-this": 0,
|
|
|
|
"new-cap": 0,
|
|
|
|
"prefer-template": 0,
|
|
|
|
"object-shorthand": 0,
|
|
|
|
"func-names": 0,
|
|
|
|
"prefer-arrow-callback": 0,
|
|
|
|
"no-underscore-dangle": 0,
|
|
|
|
"no-var": 0,
|
|
|
|
"strict": 0,
|
|
|
|
"prefer-spread": 0,
|
|
|
|
"no-plusplus": 0,
|
|
|
|
"no-bitwise": 0,
|
|
|
|
"comma-dangle": 0,
|
|
|
|
"vars-on-top": 0,
|
|
|
|
"no-continue": 0,
|
|
|
|
"no-param-reassign": 0,
|
|
|
|
"no-multi-assign": 0,
|
|
|
|
"radix": 0,
|
|
|
|
"no-alert": 0,
|
2018-06-21 19:57:01 +02:00
|
|
|
"no-return-await": 0,
|
2017-11-23 00:59:16 +01:00
|
|
|
"prefer-destructuring": 0,
|
2017-12-14 18:02:38 +01:00
|
|
|
"no-restricted-globals": [2, "event"],
|
2017-11-23 00:59:16 +01:00
|
|
|
"prefer-promise-reject-errors": 0,
|
|
|
|
"import/prefer-default-export": 0,
|
2017-11-25 20:14:44 +01:00
|
|
|
"import/no-unresolved": 0,
|
|
|
|
"import/extensions": [2, "ignorePackages"],
|
2017-11-26 01:00:43 +01:00
|
|
|
"object-curly-newline": 0,
|
2018-06-01 16:06:28 +02:00
|
|
|
"default-case": 0,
|
2017-11-23 00:59:16 +01:00
|
|
|
"react/jsx-no-bind": [2, { "ignoreRefs": true }],
|
|
|
|
"react/jsx-no-duplicate-props": 2,
|
|
|
|
"react/self-closing-comp": 2,
|
|
|
|
"react/prefer-es6-class": 2,
|
|
|
|
"react/no-string-refs": 2,
|
|
|
|
"react/require-render-return": 2,
|
|
|
|
"react/no-find-dom-node": 2,
|
|
|
|
"react/no-is-mounted": 2,
|
|
|
|
"react/jsx-no-comment-textnodes": 2,
|
|
|
|
"react/jsx-no-undef": 2,
|
|
|
|
"react/jsx-uses-react": 2,
|
2018-07-07 21:04:11 +02:00
|
|
|
"react/jsx-uses-vars": 2,
|
2018-10-11 12:22:11 +02:00
|
|
|
"no-restricted-syntax": [0, "ForOfStatement"],
|
|
|
|
"prettier/prettier": "error"
|
2017-11-23 00:59:16 +01:00
|
|
|
},
|
2018-10-11 12:22:11 +02:00
|
|
|
"plugins": ["react", "prettier"]
|
2017-11-17 18:05:13 +01:00
|
|
|
}
|