UNPKG

@tryfinch/react-connect

Version:

Finch SDK for embedding Finch Connect in API React Single Page Applications (SPA)

51 lines (50 loc) 1.13 kB
module.exports = { extends: [ 'airbnb', 'plugin:prettier/recommended', 'prettier/react', 'plugin:@typescript-eslint/recommended', ], parser: '@typescript-eslint/parser', plugins: ['prettier', '@typescript-eslint'], env: { browser: true, commonjs: true, es6: true, jest: true, node: true, }, parserOptions: { sourceType: 'module', }, settings: { 'import/resolver': { node: { paths: ['src'], }, }, }, rules: { 'jsx-a11y/href-no-hash': ['off'], 'react/jsx-filename-extension': ['warn', { extensions: ['.js', '.jsx'] }], 'react/react-in-jsx-scope': 'off', 'react/prop-types': 'off', 'jsx-a11y/anchor-is-valid': 'off', 'react/jsx-props-no-spreading': 'off', 'no-underscore-dangle': 'off', 'max-len': [ 'warn', { code: 100, tabWidth: 2, comments: 100, ignoreComments: false, ignoreTrailingComments: true, ignoreUrls: true, ignoreStrings: true, ignoreTemplateLiterals: true, ignoreRegExpLiterals: true, }, ], }, };