-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Joe Fusco <[email protected]>
- Loading branch information
1 parent
04f4a35
commit a774c9a
Showing
53 changed files
with
11,566 additions
and
11,425 deletions.
There are no files selected for viewing
This file contains 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 characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,77 @@ | ||
{ | ||
"extends": "next/core-web-vitals" | ||
} | ||
"root": true, | ||
"parser": "@babel/eslint-parser", | ||
"parserOptions": { | ||
"ecmaVersion": 2020, | ||
"sourceType": "module", | ||
"ecmaFeatures": { | ||
"jsx": true | ||
} | ||
}, | ||
"env": { | ||
"browser": true, | ||
"es6": true, | ||
"node": true, | ||
"jest": true | ||
}, | ||
"extends": [ | ||
"eslint:recommended", | ||
"plugin:@typescript-eslint/recommended", | ||
"plugin:@next/next/recommended", | ||
"plugin:react/recommended", | ||
"plugin:jest/recommended", | ||
"plugin:prettier/recommended", | ||
"plugin:react-hooks/recommended" | ||
], | ||
"plugins": [ | ||
"react", | ||
"jest", | ||
"prettier", | ||
"react-hooks", | ||
"@next/next" | ||
], | ||
"rules": { | ||
"prettier/prettier": "error", | ||
"react/react-in-jsx-scope": "off", | ||
"react/prop-types": "off", | ||
"no-console": "warn", | ||
"no-debugger": "warn", | ||
"no-unused-vars": "warn", | ||
"react-hooks/rules-of-hooks": "error", | ||
"react-hooks/exhaustive-deps": "warn", | ||
"@next/next/no-img-element": "error" | ||
}, | ||
"settings": { | ||
"react": { | ||
"version": "detect" | ||
}, | ||
"requireConfigFile": false | ||
}, | ||
"overrides": [ | ||
{ | ||
"files": ["*.js", "*.jsx"], | ||
"parser": "@babel/eslint-parser", | ||
"parserOptions": { | ||
"requireConfigFile": false, | ||
"babelOptions": { | ||
"presets": ["@babel/preset-env", "@babel/preset-react"] | ||
} | ||
}, | ||
"rules": { | ||
// ...your JavaScript-specific rules here | ||
} | ||
}, | ||
{ | ||
"files": ["*.ts", "*.tsx"], | ||
"parser": "@typescript-eslint/parser", | ||
"plugins": ["@typescript-eslint"], | ||
"extends": [ | ||
"eslint:recommended", | ||
"plugin:@typescript-eslint/recommended" | ||
], | ||
"rules": { | ||
// ...your TypeScript-specific rules here | ||
} | ||
} | ||
] | ||
} |
This file contains 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 characters
This file contains 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 characters
Oops, something went wrong.