LetsGetTechnical / gridiron-survivor

https://gridiron-survivor-letsgettechnical.vercel.app
4 stars 1 forks source link

Rename `.prettierrc.json` to `prettier.config.js` and restructure accordingly. #163

Open ryandotfurrer opened 3 weeks ago

ryandotfurrer commented 3 weeks ago

.prettierrc.json is deprecated in ES Lint v9.0.0+ and we should move to using a prettier.config.js file. Said file should look like this:

export default [
    {
        "parser": "@typescript-eslint/parser",
        "plugins": ["@typescript-eslint"],
        "extends": [
            "plugin:jsx-a11y/recommended",
            "next/core-web-vitals",
            "plugin:@typescript-eslint/eslint-recommended",
            "plugin:@typescript-eslint/recommended"
        ]
    }

]