dispatch/client/.eslintrc
Ken-Håvard Lieng b176b79144 Add prettier
2018-04-06 01:46:22 +02:00

35 lines
925 B
Plaintext

{
"extends": ["airbnb", "plugin:prettier/recommended"],
"parser": "babel-eslint",
"env": {
"browser": true
},
"rules": {
"arrow-parens": 0,
"comma-dangle": [2, "never"],
"consistent-return": 0,
"function-paren-newline": 0,
"jsx-a11y/click-events-have-key-events": 0,
"jsx-a11y/no-autofocus": 0,
"jsx-a11y/no-noninteractive-element-interactions": 0,
"jsx-a11y/no-static-element-interactions": 0,
"new-cap": [2, { "capIsNewExceptions": ["Map", "List", "Record", "Set"] }],
"no-console": 0,
"no-param-reassign": 0,
"no-plusplus": 0,
"no-restricted-globals": 1,
"object-curly-newline": 0,
"react/jsx-filename-extension": 0,
"react/no-array-index-key": 0,
"react/prefer-stateless-function": 0,
"react/prop-types": 0
},
"settings": {
"import/resolver": {
"webpack": {
"config": "webpack.config.prod.js"
}
}
}
}