Skip to content

Commit

Permalink
adding prettier configuration to the repo and formatting existing files
Browse files Browse the repository at this point in the history
  • Loading branch information
asha-reddy committed Dec 9, 2020
1 parent 7a34b01 commit 624a19c
Show file tree
Hide file tree
Showing 9 changed files with 19,729 additions and 32 deletions.
2 changes: 1 addition & 1 deletion .eslintcache
@@ -1 +1 @@
[{"/Users/gregorypratt/dev/report-page-app/src/index.js":"1","/Users/gregorypratt/dev/report-page-app/src/reportPageData.js":"2","/Users/gregorypratt/dev/report-page-app/src/cards/index.js":"3","/Users/gregorypratt/dev/report-page-app/src/cards/Report.js":"4","/Users/gregorypratt/dev/report-page-app/src/cards/Text.js":"5","/Users/gregorypratt/dev/report-page-app/src/cards/Slide.js":"6","/Users/gregorypratt/dev/report-page-app/src/cards/Chart.js":"7","/Users/gregorypratt/dev/report-page-app/src/layout/Layout.js":"8","/Users/gregorypratt/dev/report-page-app/src/layout/index.js":"9","/Users/gregorypratt/dev/report-page-app/src/layout/LayoutBox.js":"10"},{"size":334,"mtime":1607505682502,"results":"11","hashOfConfig":"12"},{"size":1155,"mtime":1607505435442,"results":"13","hashOfConfig":"12"},{"size":345,"mtime":1607507141022,"results":"14","hashOfConfig":"12"},{"size":234,"mtime":1607442757030,"results":"15","hashOfConfig":"12"},{"size":64,"mtime":1607439210478,"results":"16","hashOfConfig":"12"},{"size":307,"mtime":1607505435436,"results":"17","hashOfConfig":"12"},{"size":67,"mtime":1607439159226,"results":"18","hashOfConfig":"12"},{"size":655,"mtime":1607507294368,"results":"19","hashOfConfig":"12"},{"size":99,"mtime":1607506392906,"results":"20","hashOfConfig":"12"},{"size":195,"mtime":1607507025539,"results":"21","hashOfConfig":"12"},{"filePath":"22","messages":"23","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"24"},"1puhaaj",{"filePath":"25","messages":"26","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"24"},{"filePath":"27","messages":"28","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"24"},{"filePath":"29","messages":"30","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"24"},{"filePath":"31","messages":"32","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"24"},{"filePath":"33","messages":"34","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"24"},{"filePath":"35","messages":"36","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"24"},{"filePath":"37","messages":"38","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"39","messages":"40","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"24"},{"filePath":"41","messages":"42","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"24"},"/Users/gregorypratt/dev/report-page-app/src/index.js",[],["43","44"],"/Users/gregorypratt/dev/report-page-app/src/reportPageData.js",[],"/Users/gregorypratt/dev/report-page-app/src/cards/index.js",[],"/Users/gregorypratt/dev/report-page-app/src/cards/Report.js",[],"/Users/gregorypratt/dev/report-page-app/src/cards/Text.js",[],"/Users/gregorypratt/dev/report-page-app/src/cards/Slide.js",[],"/Users/gregorypratt/dev/report-page-app/src/cards/Chart.js",[],"/Users/gregorypratt/dev/report-page-app/src/layout/Layout.js",[],"/Users/gregorypratt/dev/report-page-app/src/layout/index.js",[],"/Users/gregorypratt/dev/report-page-app/src/layout/LayoutBox.js",[],{"ruleId":"45","replacedBy":"46"},{"ruleId":"47","replacedBy":"48"},"no-native-reassign",["49"],"no-negated-in-lhs",["50"],"no-global-assign","no-unsafe-negation"]
[{"/Users/asha.reddy/devel/report-page-app/src/index.js":"1","/Users/asha.reddy/devel/report-page-app/src/reportPageData.js":"2","/Users/asha.reddy/devel/report-page-app/src/layout/index.js":"3","/Users/asha.reddy/devel/report-page-app/src/cards/index.js":"4","/Users/asha.reddy/devel/report-page-app/src/cards/Slide.js":"5","/Users/asha.reddy/devel/report-page-app/src/cards/Report.js":"6","/Users/asha.reddy/devel/report-page-app/src/cards/Chart.js":"7","/Users/asha.reddy/devel/report-page-app/src/layout/Layout.js":"8","/Users/asha.reddy/devel/report-page-app/src/layout/LayoutBox.js":"9","/Users/asha.reddy/devel/report-page-app/src/cards/Text.js":"10"},{"size":335,"mtime":1607509089732,"results":"11","hashOfConfig":"12"},{"size":1161,"mtime":1607509080431,"results":"13","hashOfConfig":"12"},{"size":99,"mtime":1607509094684,"results":"14","hashOfConfig":"12"},{"size":345,"mtime":1607509109154,"results":"15","hashOfConfig":"12"},{"size":326,"mtime":1607509114940,"results":"16","hashOfConfig":"12"},{"size":232,"mtime":1607509111739,"results":"17","hashOfConfig":"12"},{"size":67,"mtime":1607509106400,"results":"18","hashOfConfig":"12"},{"size":655,"mtime":1607509098864,"results":"19","hashOfConfig":"12"},{"size":195,"mtime":1607509101834,"results":"20","hashOfConfig":"12"},{"size":64,"mtime":1607509119819,"results":"21","hashOfConfig":"12"},{"filePath":"22","messages":"23","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},"tblw99",{"filePath":"24","messages":"25","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"26","messages":"27","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"28","messages":"29","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"30","messages":"31","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"32","messages":"33","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"34","messages":"35","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"36","messages":"37","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"38","messages":"39","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"40","messages":"41","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},"/Users/asha.reddy/devel/report-page-app/src/index.js",[],"/Users/asha.reddy/devel/report-page-app/src/reportPageData.js",[],"/Users/asha.reddy/devel/report-page-app/src/layout/index.js",[],"/Users/asha.reddy/devel/report-page-app/src/cards/index.js",[],"/Users/asha.reddy/devel/report-page-app/src/cards/Slide.js",[],"/Users/asha.reddy/devel/report-page-app/src/cards/Report.js",[],"/Users/asha.reddy/devel/report-page-app/src/cards/Chart.js",[],"/Users/asha.reddy/devel/report-page-app/src/layout/Layout.js",[],"/Users/asha.reddy/devel/report-page-app/src/layout/LayoutBox.js",[],"/Users/asha.reddy/devel/report-page-app/src/cards/Text.js",[]]
6 changes: 6 additions & 0 deletions .prettierrc.json
@@ -0,0 +1,6 @@
{
"trailingComma": "all",
"tabWidth": 2,
"semi": true,
"singleQuote": true
}
5 changes: 5 additions & 0 deletions .vscode/settings.json
@@ -0,0 +1,5 @@
{
"editor.defaultFormatter": "esbenp.prettier-vscode",
"editor.formatOnSave": true,
"editor.formatOnPaste": false
}

0 comments on commit 624a19c

Please sign in to comment.