Skip to content

navikt/eslint-config-teamsykmelding

Repository files navigation

teamsykmelding-frontend-config

Installer

yarn add -D @navikt/eslint-config-teamsykmelding

eslint

Bruk eslint config i prosjektet ditt:

I package.json:

{
  "eslintConfig": {
    "extends": "@navikt/eslint-config-teamsykmelding"
  }
}

Bruk eslint config for nextjs i prosjektet ditt:

Legg til next lint config:

yarn add -D eslint-config-next

I package.json:

{
  "eslintConfig": {
    "extends": ["@navikt/eslint-config-teamsykmelding", "next/core-web-vitals"]
  }
}

prettier

Bruk prettier config i prosjektet ditt:

I package.json:

{
  "prettier": "@navikt/eslint-config-teamsykmelding/prettier"
}

About

No description, website, or topics provided.

Resources

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors 4

  •  
  •  
  •  
  •