Skip to content

Commit

Permalink
chore: move prettierrc to package.json
Browse files Browse the repository at this point in the history
  • Loading branch information
SauravMaheshkar authored and Gr1N committed Apr 16, 2023
1 parent b19c495 commit cce4afa
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 31 deletions.
30 changes: 0 additions & 30 deletions .prettierrc.json

This file was deleted.

32 changes: 31 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -81,5 +81,35 @@
"es6": true,
"jest/globals": true
}
}
},
"prettier": {
"printWidth": 80,
"tabWidth": 2,
"useTabs": false,
"singleQuote": false,
"overrides": [
{
"files": ["*.json"],
"options": {
"parser": "json"
}
},
{
"files": ["**/*.ts"],
"options": {
"parser": "typescript",
"arrowParens": "avoid",
"bracketSpacing": true,
"semi": false,
"trailingComma": "none"
}
},
{
"files": ["*.yml", ".github/**/*.yml"],
"options": {
"parser": "yaml"
}
}
]
}
}

0 comments on commit cce4afa

Please sign in to comment.