max-mapper / max-mapper/javascript-for-cats

change to single quote strings

オープン
#45 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

主要言語
JavaScript
スター
794
フォーク
139
PR マージ指標
30日以内にマージされた PR はありません

説明

nice work dude!

It would be great if the use of single or double quotes strings could be normalized.

IMO, all to single quotes, so we can set a good start point for beginners. Indeed you recommend https://github.com/feross/standard which states the single quote style.

Rules

2 spaces – for indentation
Single quotes for strings – except to avoid escaping

for example from

var firstCat = { name: "bill", lastName: "the cat", address: "The Alley" }

to

var firstCat = { name: 'bill', lastName: 'the cat', address: 'The Alley' }

If you like the idea, I'll be glad to help with the change and make a PR.

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

調査の方向性

リポジトリのJavaScript例を調査し、それらの文字列の引用符の使い方を、要求されているシングルクォート形式と比較します。該当する例を正規化し、エスケープを避けられる場合はダブルクォートを維持したうえで、ドキュメント化されたスニペットが記載された規則に一貫して従っていることを確認します。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
javascript
領域
documentation
issue の種類
ドキュメント
難易度
3/5
見積もり時間
1〜2日
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
35/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。