forked from web3ui/web3uikit
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.js
31 lines (31 loc) · 816 Bytes
/
.eslintrc.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
module.exports = {
env: {
browser: true,
es2021: true,
},
extends: ['google'],
parser: '@typescript-eslint/parser',
parserOptions: {
ecmaVersion: 13,
sourceType: 'module',
},
overrides: [
{
files: ['src/**/*.{ts,tsx}'],
},
],
ignorePatterns: ['dist/*.js'],
plugins: ['@typescript-eslint'],
rules: {
'object-curly-spacing': 'off',
'valid-jsdoc': 'off',
'require-jsdoc': 'off',
// https://github.com/prettier/prettier/issues/3806
'operator-linebreak': 'off',
'max-len': 'off',
'no-tabs': ['error', { allowIndentationTabs: true }],
'indent': 'off',
'quotes': ['error', 'single', { avoidEscape: true }],
'linebreak-style': 0,
},
};