itsa-react-docviewer
Version:
React component that views documents using Google Doc Viewer
83 lines • 2.53 kB
Plain Text
{
"rules": {
"indent": [
"error",
4,
{"SwitchCase": 1}
],
"linebreak-style": [
"error",
"unix"
],
"quotes": [
"error",
"single",
"avoid-escape"
],
"semi": [
"error",
"always"
],
"react/jsx-closing-bracket-location": [2, "after-props"],
"react/jsx-curly-spacing": [2, "never", {"allowMultiline": false}],
"react/jsx-indent-props": [2, 4],
"react/jsx-key": 2,
"react/jsx-max-props-per-line": [2, {"maximum": 4}],
"react/jsx-pascal-case": 2,
"react/jsx-sort-props": [2, {"ignoreCase": true}],
"react/sort-prop-types": [2, {"ignoreCase": true}],
"react/jsx-uses-vars": 1,
"react/no-danger": 0,
"react/no-multi-comp": 2,
"react/self-closing-comp": 2,
"react/jsx-wrap-multilines": 2,
"array-bracket-spacing": [2, "never"],
"brace-style": [2, "stroustrup"],
"camelcase": [2, {"properties": "always"}],
"comma-spacing": [2, {"after": true, "before": false}],
"comma-style": [2, "last"],
"computed-property-spacing": [2, "never"],
"dot-location": [2, "property"],
"eol-last": 2,
"func-style": [2, "expression"],
"jsx-quotes": [2, "prefer-double"],
"keyword-spacing": 2,
"max-len": [2, 220, 2],
"no-cond-assign": 0,
"no-console": [2, { allow: ["warn", "error"] }],
"no-else-return": 2,
"no-eq-null": 0,
"no-extra-parens": 0,
"no-multiple-empty-lines": [2, {"max": 2}],
"no-trailing-spaces": 2,
"no-undef-init": 2,
"no-underscore-dangle": 0,
"object-curly-spacing": [2, "never"],
"radix": 2,
"space-before-blocks": 2,
"space-before-function-paren": [2, "never"],
"space-in-parens": [2, "never"],
"spaced-comment": [2, "always"],
"strict": [2, "global"],
"wrap-regex": 2
},
"env": {
"es6": true,
"node": true,
"browser": true
},
"extends": ["eslint:recommended", "plugin:react/recommended"],
"parser": "babel-eslint",
"parserOptions": {
"ecmaVersion": 6,
"ecmaFeatures": {
"experimentalObjectRestSpread": true,
"jsx": true
},
"sourceType": "module"
},
"plugins": [
"react",
"security"
]
}