From 8b7404980588ead9f6fc3124e8bd1c3b83ab8b73 Mon Sep 17 00:00:00 2001 From: Eric Hacke Date: Sun, 19 May 2019 15:39:10 -0400 Subject: [PATCH] fix: make single quotes required --- index.js | 2 +- package.json | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/index.js b/index.js index 5aad502..e2940e0 100644 --- a/index.js +++ b/index.js @@ -2,7 +2,7 @@ module.exports = { printWidth: 150, tabWidth: 2, semi: true, - singleQuote: false, + singleQuote: true, quoteProps: 'as-needed', trailingComma: "es5", bracketSpacing: true, diff --git a/package.json b/package.json index 2ec5d3f..df6b2e6 100644 --- a/package.json +++ b/package.json @@ -42,6 +42,7 @@ }, "scripts": { "prepare": "fixpack", + "commit": "git-cz", "test": "echo \"Error: no test specified\" && exit 1" } }