Skip to content

Commit

Permalink
added next lint
Browse files Browse the repository at this point in the history
  • Loading branch information
bduran04 committed Sep 17, 2024
1 parent 74252f4 commit e66c258
Show file tree
Hide file tree
Showing 4 changed files with 564 additions and 74 deletions.
3 changes: 3 additions & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"extends": "next/core-web-vitals"
}
13 changes: 13 additions & 0 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
import globals from "globals";
import pluginJs from "@eslint/js";
import tseslint from "typescript-eslint";
import pluginReact from "eslint-plugin-react";


export default [
{files: ["**/*.{js,mjs,cjs,ts,jsx,tsx}"]},
{languageOptions: { globals: globals.browser }},
pluginJs.configs.recommended,
...tseslint.configs.recommended,
pluginReact.configs.flat.recommended,
];
Loading

0 comments on commit e66c258

Please sign in to comment.