mirror of
https://github.com/aljazceru/breez-sdk-docs.git
synced 2025-12-17 05:44:20 +01:00
44 lines
735 B
JavaScript
44 lines
735 B
JavaScript
module.exports = {
|
|
env: {
|
|
browser: true,
|
|
es2021: true
|
|
},
|
|
extends: [
|
|
'standard-with-typescript',
|
|
'plugin:react/recommended'
|
|
],
|
|
overrides: [
|
|
{
|
|
env: {
|
|
node: true
|
|
},
|
|
files: [
|
|
'.eslintrc.{js,cjs}'
|
|
],
|
|
parserOptions: {
|
|
sourceType: 'script'
|
|
}
|
|
}
|
|
],
|
|
parserOptions: {
|
|
ecmaVersion: 'latest',
|
|
sourceType: 'module',
|
|
project: [
|
|
'./tsconfig.json'
|
|
]
|
|
},
|
|
plugins: [
|
|
'react'
|
|
],
|
|
rules: {
|
|
'@typescript-eslint/explicit-function-return': 'off',
|
|
'@typescript-eslint/explicit-function-return-type': 'off',
|
|
'@typescript-eslint/no-unused-vars': 'off'
|
|
},
|
|
settings: {
|
|
react: {
|
|
version: 'detect'
|
|
}
|
|
}
|
|
}
|