Last active
September 1, 2021 09:20
-
-
Save luooooob/5be6dd3889cd787f70aaafd42491d1a0 to your computer and use it in GitHub Desktop.
Revisions
-
luooooob revised this gist
Sep 1, 2021 . 1 changed file with 0 additions and 2 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -2,7 +2,6 @@ "root": true, "parser": "@typescript-eslint/parser", "plugins": [ "functional" ], "extends": [ @@ -39,7 +38,6 @@ "react/jsx-boolean-value": "warn" }, "parserOptions": { "project": ["./tsconfig.json"] }, "settings": { -
luooooob created this gist
Sep 1, 2021 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,50 @@ { "root": true, "parser": "@typescript-eslint/parser", "plugins": [ "@typescript-eslint", "functional" ], "extends": [ "eslint:recommended", "plugin:@typescript-eslint/recommended", "plugin:@typescript-eslint/eslint-recommended", "plugin:@typescript-eslint/recommended", "plugin:@typescript-eslint/recommended-requiring-type-checking", "plugin:react/recommended", "plugin:react/jsx-runtime", "plugin:react-hooks/recommended", "plugin:jsx-a11y/recommended" ], "rules": { "@typescript-eslint/consistent-type-imports": "error", "@typescript-eslint/consistent-indexed-object-style": "error", "@typescript-eslint/semi": ["error", "never"], "@typescript-eslint/quotes": "error", "@typescript-eslint/comma-dangle": ["error", "always-multiline"], "@typescript-eslint/no-empty-function" : "off", "functional/immutable-data": "warn", "functional/no-let": "warn", "functional/no-method-signature": "warn", "functional/prefer-readonly-type": "warn", "functional/no-class": "warn", "functional/no-loop-statement": "warn", "react/prop-types": "off", "react/boolean-prop-naming": "warn", "react/function-component-definition": ["error", { "namedComponents": "arrow-function" }], "react/no-multi-comp": "warn", "react/no-unstable-nested-components":"warn", "react/jsx-boolean-value": "warn" }, "parserOptions": { "warnOnUnsupportedTypeScriptVersion": false, "project": ["./tsconfig.json"] }, "settings": { "react": { "version": "detect" } } }