UNPKG

eslint-config-picnic

Version:
78 lines (77 loc) 1.86 kB
--- extends: picnic/default parserOptions: ecmaFeatures: jsx: true sourceType: module env: browser: true es6: true globals: # TODO: break these into more specific files analytics: true App: true Bloodhound: true FB: true FormData: true PDFViewerApplication: true StripeCheckout: true parser: babel-eslint plugins: - react - import settings: import/extensions: - .json - .js - .jsx import/resolver: node: extensions: - .js - .jsx import/ignore: - node_modules - \.css$ rules: import/default: 0 # TODO make 2 import/named: 0 # TODO make 2 import/no-common-js: 0 # TODO make 2 jsx-quotes: - 2 - "prefer-single" react/display-name: 0 # TODO: make 2 react/jsx-boolean-value: - 2 - "always" react/jsx-closing-bracket-location: - 2 - nonEmpty: 'after-props' selfClosing: 'after-props' react/jsx-curly-spacing: - 2 - "never" react/jsx-equals-spacing: - 2 - "never" react/jsx-no-undef: 2 react/jsx-sort-prop-types: 0 # TODO: Evaluate react/jsx-sort-props: 0 # TODO: Evaluate react/jsx-space-before-closing: - 2 - "never" react/jsx-uses-react: 2 react/jsx-uses-vars: 2 react/no-did-mount-set-state: 2 react/no-did-update-set-state: 2 react/no-multi-comp: 0 # TODO: Evalutate react/no-unknown-property: 2 react/prop-types: 0 # TODO: make 2 react/react-in-jsx-scope: 2 react/require-extension: 0 # TODO: make 2 react/self-closing-comp: 2 react/sort-comp: 0 # TODO: make 2 and configure react/wrap-multilines: 0 # TODO: Evaluate. Make 2 after can specify only # for components with children