diff --git a/.prettierignore b/.prettierignore new file mode 100644 index 0000000..1c771e0 --- /dev/null +++ b/.prettierignore @@ -0,0 +1,6 @@ +node_modules + +*.yml +*.md +*.json +*.html diff --git a/.prettierrc b/.prettierrc new file mode 100644 index 0000000..fa90a74 --- /dev/null +++ b/.prettierrc @@ -0,0 +1,27 @@ +{ + "bracketSpacing": true, + "printWidth": 80, + "proseWrap": "preserve", + "semi": true, + "singleQuote": true, + "trailingComma": "all", + "tabWidth": 4, + "useTabs": true, + "arrowParens": "always", + "endOfLine": "lf", + "overrides": [ + { + "files": "*.json", + "options": { + "singleQuote": false + } + }, + { + "files": ".*rc", + "options": { + "singleQuote": false, + "parser": "json" + } + } + ] +} \ No newline at end of file