Skip to content

Latest commit

 

History

History
53 lines (35 loc) · 651 Bytes

README.md

File metadata and controls

53 lines (35 loc) · 651 Bytes

Cretia Configs

ESLint

Install

npm install --development eslint eslint-config-cretia

Use

There are two ways to load this configuration:

  • Inside your package.json
"eslint": {
  "extends": "eslint-config-cretia"
}
  • Use a config file .eslintrc
{
  "extends": "eslint-config-cretia"
}

Prettier

Install

npm install --development prettier prettier-config-cretia

Use

There are two ways to load this configuration:

  • Inside your package.json
"prettier": "prettier-config-cretia"
  • Use a config file prettierrc.json
"prettier-config-cretia"