--- env: es6: true browser: true plugins: - "react" ecmaFeatures: modules: true jsx: true experimentalObjectRestSpread: true rules: # Stylistic issue indent: [1, 2] array-bracket-spacing: [1, always] comma-spacing: 1 key-spacing: 1 object-curly-spacing: [1, always] semi: [1, never] space-before-function-paren: [1, always] space-before-blocks: [1, always] space-after-keywords: [1, always] spaced-comment: [1, always] # Best practice curly: [2, multi-line] eqeqeq: [1, smart] no-loop-func: 2 no-alert: 2 yoda: [2, never] # ES6 arrow-spacing : 2 no-var: 2 prefer-const: 2 object-shorthand: 1 constructor-super: 2 no-this-before-super: 2 generator-star-spacing: 2 # Variables no-use-before-define: [2, nofunc] # React plugin react/display-name: 0 react/jsx-boolean-value: 1 react/jsx-curly-spacing: 1 react/jsx-max-props-per-line: 0 react/jsx-no-duplicate-props: 1 react/jsx-no-undef: 1 react/jsx-quotes: 1 react/jsx-sort-prop-types: 0 react/jsx-sort-props: 0 react/jsx-uses-react: 1 react/jsx-uses-vars: 1 react/no-danger: 0 react/no-did-mount-set-state: 0 react/no-did-update-set-state: 1 react/no-multi-comp: 1 react/no-unknown-property: 1 react/prop-types: 1 react/react-in-jsx-scope: 1 react/require-extension: 1 react/self-closing-comp: 1 react/sort-comp: 0 react/wrap-multilines: 1