forked from buildspace/solana-pay-starter
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.json
33 lines (33 loc) · 913 Bytes
/
.eslintrc.json
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
32
33
{
"extends": [
"next/core-web-vitals",
"plugin:react/recommended",
"airbnb-typescript"
],
"rules": {
"react/react-in-jsx-scope": "off",
"react/jsx-filename-extension": [1, { "extensions": [".tsx", ".ts"] }],
"no-param-reassign": [
"error",
{
"props": false
}
],
"jsx-quotes": [
"error",
"prefer-double"
],
"no-trailing-spaces": ["error", { "ignoreComments": true }],
"indent": ["error", 2],
"object-curly-newline": ["error", {
"ObjectExpression": { "multiline": true, "minProperties": 3 },
"ObjectPattern": { "multiline": true, "minProperties": 3 },
"ImportDeclaration": { "multiline": true, "minProperties": 3 },
"ExportDeclaration": { "multiline": true, "minProperties": 3 }
}],
"import/no-extraneous-dependencies": [
"error"
],
"import/prefer-default-export": "off"
}
}