init commit,
This commit is contained in:
59
99_references/cf-identity-wallet-main/.eslintrc.json
Normal file
59
99_references/cf-identity-wallet-main/.eslintrc.json
Normal file
@@ -0,0 +1,59 @@
|
||||
{
|
||||
"env": {
|
||||
"browser": true,
|
||||
"es2021": true,
|
||||
"jest": true,
|
||||
"node": true
|
||||
},
|
||||
"globals": {
|
||||
"__dirname": true,
|
||||
"NodeJS": true,
|
||||
"process": "readonly"
|
||||
},
|
||||
"extends": [
|
||||
"eslint:recommended",
|
||||
"plugin:react/recommended",
|
||||
"plugin:@typescript-eslint/recommended",
|
||||
"plugin:react-hooks/recommended",
|
||||
"plugin:import/warnings"
|
||||
],
|
||||
"overrides": [
|
||||
],
|
||||
"parser": "@typescript-eslint/parser",
|
||||
"parserOptions": {
|
||||
"ecmaVersion": "latest",
|
||||
"sourceType": "module"
|
||||
},
|
||||
"plugins": [
|
||||
"react",
|
||||
"@typescript-eslint",
|
||||
"import",
|
||||
"jest"
|
||||
],
|
||||
"rules": {
|
||||
"@typescript-eslint/no-duplicate-enum-values": "error",
|
||||
"react/no-unescaped-entities": 0,
|
||||
"react/react-in-jsx-scope": "off",
|
||||
"no-console": "error",
|
||||
"no-unused-vars": "off",
|
||||
"no-undef": "error",
|
||||
"indent": ["warn", 2],
|
||||
"quotes": ["warn", "double"],
|
||||
"import/order": [
|
||||
"warn",
|
||||
{
|
||||
"groups": [
|
||||
["builtin", "external"],
|
||||
"internal",
|
||||
["parent", "sibling", "index"]
|
||||
]
|
||||
}
|
||||
],
|
||||
"react/display-name": "off"
|
||||
},
|
||||
"settings": {
|
||||
"react": {
|
||||
"version": "detect"
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user