Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {
- "env": {
- "node": true,
- "browser": true,
- "es6": true,
- "jest": true
- },
- "globals": {
- "__DEV__": "readonly",
- "__DEMOS__": "readonly",
- "__ICONS__": "readonly"
- },
- "plugins": ["@typescript-eslint", "prettier", "react", "react-hooks"],
- "extends": [
- "eslint:recommended",
- "plugin:@typescript-eslint/recommended",
- "plugin:react/recommended",
- "prettier",
- "prettier/@typescript-eslint",
- "prettier/react"
- ],
- "parser": "@typescript-eslint/parser",
- "parserOptions": {
- "ecmaVersion": 2018,
- "sourceType": "module",
- "ecmaFeatures": {
- "experimentalObjectRestSpread": true,
- "modules": true,
- "jsx": true
- },
- "project": "./tsconfig.json"
- },
- "rules": {
- "no-console": "off",
- "prettier/prettier": "error",
- "react/prop-types": "off",
- "react/no-unescaped-entities": "off",
- "react-hooks/rules-of-hooks": "error",
- "@typescript-eslint/no-empty-interface": "warn",
- "@typescript-eslint/no-non-null-assertion": "warn"
- },
- "settings": {
- "react": {
- "version": "16.8"
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement