brahma-trade-widget
Version:
A React component for trade automation within the Brahma ecosystem.
55 lines (54 loc) • 1.39 kB
JSON
{
"env": {
"browser": true,
"es2020": true,
"jest": true,
"node": true
},
"settings": {
"react": {
"version": "detect"
}
},
"extends": [
"eslint:recommended",
"plugin:react/recommended",
"plugin:@typescript-eslint/eslint-recommended",
"plugin:@typescript-eslint/recommended",
"plugin:prettier/recommended",
"plugin:@next/next/recommended"
],
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaFeatures": {
"jsx": true
},
"ecmaVersion": 11,
"sourceType": "module"
},
"plugins": ["react", "react-hooks", "@typescript-eslint"],
"rules": {
"react-hooks/rules-of-hooks": "error",
"react-hooks/exhaustive-deps": "warn",
"react/prop-types": "off",
"react/react-in-jsx-scope": "off",
"@typescript-eslint/no-unused-vars": "warn",
"@typescript-eslint/explicit-module-boundary-types": "off",
"@typescript-eslint/no-explicit-any": "warn",
"@typescript-eslint/no-unused-expressions": "off",
"react/no-children-prop": "off",
"no-fallthrough": "off",
"react/no-unescaped-entities": "off",
"@typescript-eslint/no-require-imports": "warn",
"prettier/prettier": [
"error",
{
"endOfLine": "auto",
"trailing-comma": "all",
"semi": false,
"singleQuote": false,
"tabWidth": 2
}
]
}
}