teleport/web/.eslintrc

61 lines
1.3 KiB
Plaintext
Raw Normal View History

2017-03-03 03:07:53 +00:00
{
"parser": "babel-eslint",
"parserOptions": {
"ecmaVersion": 6,
"sourceType": "module",
"ecmaFeatures": {
"jsx": true,
"experimentalObjectRestSpread": true
}
2016-02-22 23:36:40 +00:00
},
"env": {
"es6": true,
2016-02-22 23:36:40 +00:00
"browser": true,
2017-02-09 19:58:38 +00:00
"node": true,
"mocha": true
2016-02-22 23:36:40 +00:00
},
2017-02-09 19:58:38 +00:00
"extends": [
"eslint:recommended",
"plugin:import/errors",
"plugin:import/warnings"
],
"plugins": [
2017-02-09 19:58:38 +00:00
"react",
"babel",
2017-04-05 22:56:24 +00:00
"import"
],
2017-04-05 22:56:24 +00:00
"rules": {
2017-02-09 19:58:38 +00:00
"comma-dangle": 0,
"no-mixed-spaces-and-tabs": 0,
"no-alert": 0,
2017-02-09 19:58:38 +00:00
"import/default": 0,
"import/named": 0,
"no-underscore-dangle": 0,
"no-case-declarations": 0,
2016-02-22 23:36:40 +00:00
"strict": 0,
"no-console": 0,
2017-02-09 19:58:38 +00:00
"no-trailing-spaces": 0,
"react/display-name": 0,
"react/jsx-no-undef": 2,
"react/jsx-sort-prop-types": 0,
"react/jsx-sort-props": 0,
"react/jsx-uses-react": 1,
"react/jsx-uses-vars": 1,
"react/no-did-mount-set-state": 1,
2017-02-09 19:58:38 +00:00
"react/no-did-update-set-state": 1,
"react/no-unknown-property": 1,
"react/prop-types": 0,
"react/react-in-jsx-scope": 1,
2017-02-09 19:58:38 +00:00
"react/self-closing-comp": 0,
"react/sort-comp": 0,
"react/wrap-multilines": 1
2017-02-09 19:58:38 +00:00
},
"settings": {
"import/resolver": {
"webpack": {
"config": "webpack/webpack.config.dev.js"
}
}
}
2016-02-22 23:36:40 +00:00
}