Skip to content
This repository has been archived by the owner on Sep 30, 2020. It is now read-only.

Change quote-props rule to "consistent-as-needed" #39

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
1 change: 1 addition & 0 deletions .prettierrc.json
Expand Up @@ -2,6 +2,7 @@
"trailingComma": "es5",
"bracketSpacing": false,
"jsxBracketSameLine": true,
"quoteProps": "consistent",
"singleQuote": true,
"tabWidth": 4,
"useTabs": true
Expand Down
2 changes: 1 addition & 1 deletion index.js
Expand Up @@ -28,7 +28,7 @@ const config = {
'no-unused-vars': ['error', {argsIgnorePattern: '^_'}],
'object-shorthand': 'error',
'prefer-const': 'error',
'quote-props': ['error', 'as-needed'],
'quote-props': ['error', 'consistent-as-needed'],
},
};

Expand Down
12 changes: 6 additions & 6 deletions yarn.lock
Expand Up @@ -193,9 +193,9 @@ eslint-plugin-no-for-of-loops@^1.0.0:
integrity sha1-oT2RqPGSL3/v7eqzUdwAVZlGAfY=

eslint-plugin-no-only-tests@^2.1.0:
version "2.1.0"
resolved "https://registry.yarnpkg.com/eslint-plugin-no-only-tests/-/eslint-plugin-no-only-tests-2.1.0.tgz#9050450bace6abbc457de894116141936fec68e7"
integrity sha512-T02dNNDj7sKJNvH7YLKqgv4+BDupxKG4OgadF0AecDHrYTb9hlosxqCgZbFKt28C7Ueof6ziCtEh6rnPvN4YYA==
version "2.3.0"
resolved "https://registry.yarnpkg.com/eslint-plugin-no-only-tests/-/eslint-plugin-no-only-tests-2.3.0.tgz#1b0007c3b2600c74ad5f144d24bfef620e824c9d"
integrity sha512-5YZvazTJLWrGU8WUq3xp0Eot02zK/yUT9GoVjrFdXP8flVqH6YBdC6PsAKBRIpcs48WvSfSYrmdwAj3a4d/Iyg==

eslint-plugin-notice@0.7.8:
version "0.7.8"
Expand Down Expand Up @@ -614,9 +614,9 @@ prelude-ls@~1.1.2:
integrity sha1-IZMqVJ9eUv/ZqCf1cOBL5iqX2lQ=

prettier@*:
version "1.16.4"
resolved "https://registry.yarnpkg.com/prettier/-/prettier-1.16.4.tgz#73e37e73e018ad2db9c76742e2647e21790c9717"
integrity sha512-ZzWuos7TI5CKUeQAtFd6Zhm2s6EpAD/ZLApIhsF9pRvRtM1RFo61dM/4MSRUA0SuLugA/zgrZD8m0BaY46Og7g==
version "1.17.0"
resolved "https://registry.yarnpkg.com/prettier/-/prettier-1.17.0.tgz#53b303676eed22cc14a9f0cec09b477b3026c008"
integrity sha512-sXe5lSt2WQlCbydGETgfm1YBShgOX4HxQkFPvbxkcwgDvGDeqVau8h+12+lmSVlP3rHPz0oavfddSZg/q+Szjw==

progress@^2.0.0:
version "2.0.3"
Expand Down