Files
bls-browser-wallet/.eslintrc.js
2022-08-19 13:46:11 +01:00

38 lines
773 B
JavaScript

module.exports = {
env: {
browser: true,
es2021: true,
},
extends: [
'plugin:react/recommended',
'airbnb',
'airbnb-typescript',
],
parser: '@typescript-eslint/parser',
parserOptions: {
ecmaFeatures: {
jsx: true,
},
ecmaVersion: 'latest',
sourceType: 'module',
project: './tsconfig.json',
},
plugins: [
'react',
'@typescript-eslint',
],
rules: {
'@typescript-eslint/space-before-blocks': 'off',
'no-param-reassign': 'off',
'import/prefer-default-export': 'off',
'react/jsx-props-no-spreading': 'off',
'@typescript-eslint/no-use-before-define': 'off',
},
ignorePatterns: [
'.eslintrc.js',
'tailwind.config.js',
'config-overrides.js',
'postcss.config.js'
]
};