mirror of
https://github.com/status-im/wakuconnect-chat-sdk.git
synced 2025-01-29 13:25:54 +00:00
121937bcbe
Co-authored-by: marcelines <marcio@status.im> Co-authored-by: Jakub Kotula <520927+jkbktl@users.noreply.github.com> Co-authored-by: Pavel <14926950+prichodko@users.noreply.github.com> Co-authored-by: Felicio Mununga <felicio@users.noreply.github.com>
42 lines
777 B
JavaScript
42 lines
777 B
JavaScript
import configs, { tailwindcssConfigs } from '@status-im/eslint-config'
|
|
|
|
/** @type {import('eslint').Linter.Config[]} */
|
|
export default [
|
|
...configs,
|
|
...tailwindcssConfigs,
|
|
{
|
|
files: ['**/*.ts', '**/*.tsx'],
|
|
rules: {
|
|
'no-constant-binary-expression': 'error',
|
|
'no-restricted-globals': ['error', 'process'],
|
|
'jsx-a11y/alt-text': [
|
|
1,
|
|
{
|
|
img: [],
|
|
},
|
|
],
|
|
'no-empty': 'warn',
|
|
},
|
|
},
|
|
{
|
|
files: ['**/*.mjs'],
|
|
languageOptions: {
|
|
parserOptions: {
|
|
ecmaVersion: 'latest',
|
|
sourceType: 'module',
|
|
},
|
|
},
|
|
},
|
|
{
|
|
files: ['**/*.js'],
|
|
languageOptions: {
|
|
parserOptions: {
|
|
ecmaVersion: 'latest',
|
|
},
|
|
},
|
|
},
|
|
{
|
|
ignores: ['.plasmo'],
|
|
},
|
|
]
|