oceanprotocol/react

View on GitHub
.eslintrc

Summary

Maintainability
Test Coverage
{
  "parser": "@typescript-eslint/parser",
  "parserOptions": {
    "project": ["./tsconfig.json"]
  },
  "extends": [
    "oceanprotocol",
    "oceanprotocol/react",
    "plugin:@typescript-eslint/eslint-recommended",
    "plugin:@typescript-eslint/recommended",
    "plugin:prettier/recommended",
    "plugin:react-hooks/recommended"
  ],
  "plugins": ["@typescript-eslint", "prettier"],
  "rules": {
    "no-use-before-define": "off",
    "@typescript-eslint/no-use-before-define": "error"
  },
  "env": { "es6": true, "node": true },
  "settings": {
    "react": {
      "version": "detect"
    }
  }
}