Projekt

Obecné

Profil

« Předchozí | Další » 

Revize 9a080f8f

Přidáno uživatelem Lukáš Vlček před více než 2 roky(ů)

ESLint and Prettier tools basic config

Zobrazit rozdíly:

webapp/.eslintrc.json
1
{
2
  "extends": "next/core-web-vitals",
3
  "plugins": [
4
  ],
5
  "rules": {
6
    "@typescript-eslint/ban-ts-comment": "off"
7
  }
8
}
webapp/.prettierignore
1
node_modules
2
# Ignore artifacts:
3
build
4
coverage
webapp/.prettierrc.json
1
{
2
    "trailingComma": "es5",
3
    "printWidth": 90,
4
    "tabWidth": 4,
5
    "useTabs": false,
6
    "semi": true,
7
    "singleQuote": true
8
}

Také k dispozici: Unified diff