Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- module.exports = {
- env: {
- browser: true,
- es6: true,
- jest: true
- },
- extends: 'airbnb',
- globals: {
- Atomics: 'readonly',
- SharedArrayBuffer: 'readonly'
- },
- parserOptions: {
- ecmaFeatures: {
- jsx: true
- },
- ecmaVersion: 2018,
- sourceType: 'module'
- },
- plugins: ['react'],
- rules: {
- 'react/no-set-state': 2,
- 'react/no-unescaped-entities': 2,
- 'react/no-deprecated': 2,
- 'react/jsx-no-duplicate-props': 1,
- 'react/prop-types': 1,
- 'react/jsx-filename-extension': 0,
- 'react/require-default-props': 0,
- 'comma-dangle': 0,
- 'no-use-before-define': ['error', { functions: true, classes: true, variables: false }],
- 'global-require': 0,
- 'import/no-unresolved': 0,
- 'arrow-parens': 0,
- quotes: 0,
- 'react/jsx-props-no-spreading': 0,
- 'react/forbid-prop-types': 0
- }
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement