Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: redis/node-redis
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 1380ad67a3f2b4a8b3dc31767e352e3bc4e63576
Choose a base ref
...
head repository: redis/node-redis
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: fc28860dd4d4baa0449078948bbb0cf1e77c587d
Choose a head ref

Commits on Aug 10, 2017

  1. added note about user input

    as per #1265
    stockholmux authored Aug 10, 2017
    Copy the full SHA
    eb3441c View commit details

Commits on Aug 30, 2017

  1. remove unused var in readme example

    gswalden authored and BridgeAR committed Aug 30, 2017
    Copy the full SHA
    0094795 View commit details

Commits on Oct 9, 2017

  1. Copy the full SHA
    0ad516f View commit details

Commits on Jan 9, 2018

  1. Native Promises with util.promisify

    explain how to promisify to native promises (instead of bluebird) with node's v8 util.promisify.
    Liran authored and BridgeAR committed Jan 9, 2018
    Copy the full SHA
    1ef099c View commit details
  2. add async await example

    Liran authored and BridgeAR committed Jan 9, 2018
    Copy the full SHA
    80f6960 View commit details
  3. comment with reference out of code block

    Liran authored and BridgeAR committed Jan 9, 2018
    Copy the full SHA
    2a586e3 View commit details
  4. Copy the full SHA
    5d6e471 View commit details
  5. docs: add note about rediss usage

    calebboyd authored and BridgeAR committed Jan 9, 2018
    Copy the full SHA
    1a4c410 View commit details

Commits on Feb 11, 2018

  1. swap out queue library

    Salakar committed Feb 11, 2018
    Copy the full SHA
    648e65a View commit details
  2. Copy the full SHA
    cf0a323 View commit details

Commits on Feb 19, 2018

  1. consistent ;s

    tmarshall authored Feb 19, 2018
    Copy the full SHA
    cc48de8 View commit details
  2. js highlighting

    tmarshall authored Feb 19, 2018
    Copy the full SHA
    e3a8706 View commit details
  3. fix indent

    tmarshall authored Feb 19, 2018
    Copy the full SHA
    2a15fc8 View commit details
  4. Merge pull request #1307 from ConjureLabs/master

    Updated README for syntax highlighting
    stockholmux authored Feb 19, 2018
    Copy the full SHA
    66d5a50 View commit details

Commits on Feb 23, 2018

  1. Copy the full SHA
    19c80c6 View commit details

Commits on Mar 28, 2018

  1. update readme to reflect usage of .add_command

    Chris committed Mar 28, 2018
    Copy the full SHA
    7ba8163 View commit details
  2. Merge pull request #1323 from kraftman/master

    Update readme to reflect usage of .add_command
    stockholmux authored Mar 28, 2018
    Copy the full SHA
    45166f7 View commit details

Commits on Apr 3, 2018

  1. Copy the full SHA
    c57d62c View commit details
  2. Copy the full SHA
    6b294db View commit details
  3. Copy the full SHA
    673b177 View commit details

Commits on Apr 25, 2018

  1. Simpler promisifyAll example

    gonenduk committed Apr 25, 2018
    Copy the full SHA
    59db10d View commit details

Commits on May 21, 2018

  1. Copy the full SHA
    35facdb View commit details

Commits on May 22, 2018

  1. Merge pull request #1341 from chestermax01/patch-1

     Adapt Alibaba Cloud kvstore
    stockholmux authored May 22, 2018
    Copy the full SHA
    fe1e525 View commit details
  2. Merge pull request #1332 from gonenduk/master

    Simpler bluebird promisifyAll usage
    Salakar authored May 22, 2018
    Copy the full SHA
    95b17a1 View commit details
  3. Merge pull request #1304 from Salakar/master

    Performance Increase - Minor
    Salakar authored May 22, 2018
    Copy the full SHA
    04a09aa View commit details
  4. Copy the full SHA
    c159815 View commit details
  5. Merge pull request #1342 from Salakar/master

    [tests] fix broken utils tests
    Salakar authored May 22, 2018
    Copy the full SHA
    7e945bb View commit details

Commits on Jun 10, 2018

  1. Copy the full SHA
    0dc6262 View commit details
  2. Copy the full SHA
    7b57578 View commit details

Commits on Jun 13, 2018

  1. Merge pull request #1352 from Fl4m3Ph03n1x/master

    Added documentation for REDIS optimistic lock system.
    stockholmux authored Jun 13, 2018
    Copy the full SHA
    e9ff1c2 View commit details

Commits on Jun 21, 2018

  1. Clarify reconnecting delay

    Without clarification `delay` can mean two things: time to the next attempt (wrong) or time passed from the previous attempt (correct). The wrong interpretation is tempting because it makes easy to print "Trying to reconnect in {delay} ms."
    axelpale authored Jun 21, 2018
    Copy the full SHA
    7ab0804 View commit details
  2. Merge pull request #1356 from axelpale/patch-1

    Clarify reconnecting delay
    stockholmux authored Jun 21, 2018
    Copy the full SHA
    27bb93a View commit details

Commits on Aug 10, 2018

  1. Copy the full SHA
    62f30c0 View commit details
  2. Merge pull request #1368 from hahcho/update-quit-docs-in-readme

    Update client.quit definition in README.md to include callback
    stockholmux authored Aug 10, 2018
    Copy the full SHA
    b666442 View commit details

Commits on Aug 22, 2018

  1. Copy the full SHA
    6bb90bf View commit details

Commits on Aug 23, 2018

  1. Merge pull request #1370 from koresar/patch-1

    Avoid distributing unnecessary development files
    stockholmux authored Aug 23, 2018
    Copy the full SHA
    23ef1e7 View commit details

Commits on Nov 12, 2018

  1. Copy the full SHA
    96fdc77 View commit details
  2. Merge pull request #1386 from gkorland/patch-1

    add a simple streams example
    stockholmux authored Nov 12, 2018
    Copy the full SHA
    49a635d View commit details

Commits on Nov 14, 2018

  1. Added 'NOACK' to xreadgroup call

    Added 'NOACK' to xreadgroup call, to make sure entries are auto ACK
    gkorland authored Nov 14, 2018
    Copy the full SHA
    383f097 View commit details

Commits on Nov 15, 2018

  1. Merge pull request #1388 from gkorland/patch-1

    Added 'NOACK' to xreadgroup call
    stockholmux authored Nov 15, 2018
    Copy the full SHA
    bd66d62 View commit details

Commits on Nov 29, 2018

  1. 3
    Copy the full SHA
    8ee1b98 View commit details
  2. Copy the full SHA
    3a615e8 View commit details

Commits on Dec 4, 2018

  1. Merge pull request #1396 from betimer/master

    Add delay option for socket.setKeepAlive
    stockholmux authored Dec 4, 2018
    Copy the full SHA
    95b8f1a View commit details

Commits on Dec 27, 2018

  1. Fix typo in createClient.js

    tlhunter authored Dec 27, 2018
    Copy the full SHA
    34eac0d View commit details

Commits on Dec 28, 2018

  1. Merge pull request #1403 from tlhunter/patch-1

    Fix typo in createClient.js
    stockholmux authored Dec 28, 2018
    Copy the full SHA
    bdc7356 View commit details

Commits on Feb 5, 2019

  1. Copy the full SHA
    06635b7 View commit details
  2. Fix typo in index.js

    andy-ganchrow authored and BridgeAR committed Feb 5, 2019
    Copy the full SHA
    171cbc5 View commit details
  3. Copy the full SHA
    128ca62 View commit details

Commits on Feb 6, 2019

  1. fix incorrect code for eslint rules (#1367)

    * fix code for eslint rules
    jinhyukify authored and BridgeAR committed Feb 6, 2019
    Copy the full SHA
    50b4009 View commit details

Commits on Feb 7, 2019

  1. Remove clientError handler

    This event is never emitted on net.Socket or tls.TLSSocket streams in
    any of the supported versions of Node.js.
    bengl authored and BridgeAR committed Feb 7, 2019
    Copy the full SHA
    12265a5 View commit details
Showing with 2,675 additions and 2,252 deletions.
  1. +9 −0 .deepsource.toml
  2. +1 −0 .eslintrc
  3. +1 −0 .github/FUNDING.yml
  4. +29 −10 .github/ISSUE_TEMPLATE.md
  5. +17 −8 .github/PULL_REQUEST_TEMPLATE.md
  6. +38 −0 .github/workflows/benchmark.yml
  7. +67 −0 .github/workflows/codeql-analysis.yml
  8. +31 −0 .github/workflows/linting.yml
  9. +52 −0 .github/workflows/tests.yml
  10. +49 −0 .github/workflows/tests_windows.yml
  11. +8 −0 .gitignore
  12. +12 −0 .npmignore
  13. +11 −0 .prettierrc
  14. +0 −17 .travis.yml
  15. +880 −0 CHANGELOG.md
  16. +60 −0 CODE_OF_CONDUCT.md
  17. +111 −0 CONTRIBUTING.md
  18. +3 −3 LICENSE
  19. +569 −525 README.md
  20. +0 −45 appveyor.yml
  21. +1 −1 benchmarks/diff_multi_bench_output.js
  22. +3 −3 benchmarks/multi_bench.js
  23. +0 −845 changelog.md
  24. +47 −0 examples/streams.js
  25. +58 −124 index.js
  26. +6 −22 lib/commands.js
  27. +12 −4 lib/createClient.js
  28. +1 −2 lib/customErrors.js
  29. +3 −1 lib/debug.js
  30. +1 −1 lib/extendedApi.js
  31. +19 −7 lib/individualCommands.js
  32. +1 −1 lib/multi.js
  33. +1 −1 lib/utils.js
  34. +38 −20 package.json
  35. +33 −24 test/auth.spec.js
  36. +36 −36 test/batch.spec.js
  37. +3 −3 test/commands/blpop.spec.js
  38. +5 −5 test/commands/client.spec.js
  39. +2 −2 test/commands/dbsize.spec.js
  40. +2 −2 test/commands/del.spec.js
  41. +2 −2 test/commands/eval.spec.js
  42. +2 −2 test/commands/exists.spec.js
  43. +2 −2 test/commands/expire.spec.js
  44. +2 −2 test/commands/flushdb.spec.js
  45. +2 −2 test/commands/geoadd.spec.js
  46. +2 −2 test/commands/get.spec.js
  47. +2 −2 test/commands/getset.spec.js
  48. +6 −7 test/commands/hgetall.spec.js
  49. +2 −2 test/commands/hincrby.spec.js
  50. +6 −6 test/commands/hlen.spec.js
  51. +2 −2 test/commands/hmget.spec.js
  52. +2 −2 test/commands/hmset.spec.js
  53. +16 −22 test/commands/hset.spec.js
  54. +2 −2 test/commands/incr.spec.js
  55. +2 −2 test/commands/info.spec.js
  56. +2 −2 test/commands/keys.spec.js
  57. +2 −2 test/commands/mget.spec.js
  58. +4 −4 test/commands/monitor.spec.js
  59. +2 −2 test/commands/mset.spec.js
  60. +2 −2 test/commands/msetnx.spec.js
  61. +2 −2 test/commands/randomkey.test.js
  62. +2 −2 test/commands/rename.spec.js
  63. +2 −2 test/commands/renamenx.spec.js
  64. +2 −2 test/commands/rpush.spec.js
  65. +2 −2 test/commands/sadd.spec.js
  66. +2 −2 test/commands/scard.spec.js
  67. +2 −2 test/commands/script.spec.js
  68. +2 −2 test/commands/sdiff.spec.js
  69. +2 −2 test/commands/sdiffstore.spec.js
  70. +4 −4 test/commands/select.spec.js
  71. +14 −6 test/commands/set.spec.js
  72. +2 −2 test/commands/setex.spec.js
  73. +2 −2 test/commands/setnx.spec.js
  74. +2 −2 test/commands/sinter.spec.js
  75. +2 −2 test/commands/sinterstore.spec.js
  76. +2 −2 test/commands/sismember.spec.js
  77. +2 −2 test/commands/slowlog.spec.js
  78. +2 −2 test/commands/smembers.spec.js
  79. +2 −2 test/commands/smove.spec.js
  80. +2 −2 test/commands/sort.spec.js
  81. +2 −2 test/commands/spop.spec.js
  82. +2 −2 test/commands/srem.spec.js
  83. +2 −2 test/commands/sunion.spec.js
  84. +2 −2 test/commands/sunionstore.spec.js
  85. +2 −2 test/commands/ttl.spec.js
  86. +2 −2 test/commands/type.spec.js
  87. +2 −2 test/commands/watch.spec.js
  88. +7 −3 test/commands/zadd.spec.js
  89. +2 −2 test/commands/zscan.spec.js
  90. +2 −2 test/commands/zscore.spec.js
  91. +1 −0 test/conf/password.conf
  92. +1 −0 test/conf/redis.conf
  93. +1 −0 test/conf/rename.conf
  94. +1 −0 test/conf/slave.conf
  95. +37 −74 test/connection.spec.js
  96. +13 −13 test/detect_buffers.spec.js
  97. +6 −0 test/errors.js
  98. +5 −13 test/helper.js
  99. +1 −3 test/lib/config.js
  100. +27 −15 test/lib/redis-process.js
  101. +53 −43 test/multi.spec.js
  102. +72 −175 test/node_redis.spec.js
  103. +2 −3 test/prefix.spec.js
  104. +21 −22 test/pubsub.spec.js
  105. +7 −7 test/rename.spec.js
  106. +19 −15 test/return_buffers.spec.js
  107. +30 −11 test/tls.spec.js
  108. +2 −2 test/unify_options.spec.js
  109. +13 −6 test/utils.spec.js
9 changes: 9 additions & 0 deletions .deepsource.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
version = 1
exclude_patterns = ["examples/**"]

[[analyzers]]
name = "javascript"
enabled = true

[analyzers.meta]
environment = ["nodejs"]
1 change: 1 addition & 0 deletions .eslintrc
Original file line number Diff line number Diff line change
@@ -102,6 +102,7 @@ rules:
globals:
it: true
describe: true
xdescribe: true
before: true
after: true
beforeEach: true
1 change: 1 addition & 0 deletions .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
open_collective: node-redis
39 changes: 29 additions & 10 deletions .github/ISSUE_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,34 @@
_Thanks for wanting to report an issue you've found in node_redis. Please delete
---
title: ⚠️ Bug report
labels: needs-triage
---

### Issue

<!--
Thanks for wanting to report an issue you've found in node_redis. Please delete
this text and fill in the template below. Please note that the issue tracker is only
for bug reports or feature requests. If you have a question, please ask that on [gitter].
If unsure about something, just do as best as you're able._
for bug reports or feature requests.
If you have a question, please ask it on Stack Overflow using the `node-redis` tag.
_Note that it will be much easier to fix the issue if a test case that reproduces
Note that it will be much easier to fix the issue if a test case that reproduces
the problem is provided. It is of course not always possible to reduce your code
to a small test case, but it's highly appreciated to have as much data as possible.
Thank you!_
with a small test case, but it's highly appreciated to have as much data as possible.
-->

> Describe your issue here

---

* **Version**: What node_redis and what redis version is the issue happening on?
* **Platform**: What platform / version? (For example Node.js 0.10 or Node.js 5.7.0 on Windows 7 / Ubuntu 15.10 / Azure)
* **Description**: Description of your issue, stack traces from errors and code that reproduces the issue
### Environment

[gitter]: https://gitter.im/NodeRedis/node_redis?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge
<!-- e.g. "node --version" -->
- **Node.js Version**: `VERSION_HERE`

<!-- e.g. "redis-server --version" -->
- **Redis Version**: `VERSION_HERE`

<!-- e.g. Windows 10, Mac OSX 10.15.2 -->
- **Platform**: `PLATFORM_HERE`
25 changes: 17 additions & 8 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,23 @@
### Pull Request check-list
<!-- please ensure you have read the `./CONTRIBUTING.md` guide -->

_Please make sure to review and check all of these items:_
### Description

<!-- Please provide a description of the change below, e.g What was the purpose? -->
<!-- Why does it matter to you? What problem are you trying to solve? -->
<!-- Tag in any linked issues. -->

> Description your pull request here

---

### Checklist

<!-- Please make sure to review and check all of these items: -->

- [ ] Does `npm test` pass with this change (including linting)?
- [ ] Is the new or changed code fully tested?
- [ ] Is a documentation update included (if this change modifies existing APIs, or introduces new ones)?

_NOTE: these things are not required to open a PR and can be done
afterwards / while the PR is open._

### Description of change

_Please provide a description of the change here._
<!-- NOTE: these things are not required to open a PR and can be done
afterwards / while the PR is open. -->
38 changes: 38 additions & 0 deletions .github/workflows/benchmark.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
name: Benchmarking

on: [pull_request]

jobs:
benchmark:
name: Benchmark
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
node-version: [10.x, 12.x, 14.x, 15.x]
redis-version: [5.x, 6.x]

steps:
- uses: actions/checkout@v2.3.4
with:
fetch-depth: 1

- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2.1.5
with:
node-version: ${{ matrix.node-version }}

- name: Setup Redis
uses: shogo82148/actions-setup-redis@v1.9.7
with:
redis-version: ${{ matrix.redis-version }}
auto-start: "true"

- run: npm i --no-audit --prefer-offline
- name: Run Benchmark
run: npm run benchmark > benchmark-output.txt && cat benchmark-output.txt
- name: Upload Benchmark Result
uses: actions/upload-artifact@v2.2.2
with:
name: benchmark-output.txt
path: benchmark-output.txt
67 changes: 67 additions & 0 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
# For most projects, this workflow file will not need changing; you simply need
# to commit it to your repository.
#
# You may wish to alter this file to override the set of languages analyzed,
# or to provide custom queries or build logic.
#
# ******** NOTE ********
# We have attempted to detect the languages in your repository. Please check
# the `language` matrix defined below to confirm you have the correct set of
# supported CodeQL languages.
#
name: "CodeQL"

on:
push:
branches: [ master ]
pull_request:
# The branches below must be a subset of the branches above
branches: [ master ]
schedule:
- cron: '35 0 * * 4'

jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest

strategy:
fail-fast: false
matrix:
language: [ 'javascript' ]
# CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python' ]
# Learn more:
# https://docs.github.com/en/free-pro-team@latest/github/finding-security-vulnerabilities-and-errors-in-your-code/configuring-code-scanning#changing-the-languages-that-are-analyzed

steps:
- name: Checkout repository
uses: actions/checkout@v2

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v1
with:
languages: ${{ matrix.language }}
# If you wish to specify custom queries, you can do so here or in a config file.
# By default, queries listed here will override any specified in a config file.
# Prefix the list here with "+" to use these queries and those in the config file.
# queries: ./path/to/local/query, your-org/your-repo/queries@main

# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
# If this step fails, then you should remove it and run the build manually (see below)
- name: Autobuild
uses: github/codeql-action/autobuild@v1

# ℹ️ Command-line programs to run using the OS shell.
# 📚 https://git.io/JvXDl

# ✏️ If the Autobuild fails above, remove it and uncomment the following three lines
# and modify them (or add more) to build your code if your project
# uses a compiled language

#- run: |
# make bootstrap
# make release

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v1
31 changes: 31 additions & 0 deletions .github/workflows/linting.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Linting

on: [pull_request]

jobs:
eslint:
name: ESLint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2.3.4
with:
fetch-depth: 1
- uses: actions/setup-node@v2.1.5
with:
node-version: 12
- run: npm i --no-audit --prefer-offline
- name: Test Code Linting
run: npm run lint
- name: Save Code Linting Report JSON
run: npm run lint:report
continue-on-error: true
- name: Annotate Code Linting Results
uses: ataylorme/eslint-annotate-action@1.1.2
with:
repo-token: "${{ secrets.GITHUB_TOKEN }}"
report-json: "eslint-report.json"
- name: Upload ESLint report
uses: actions/upload-artifact@v2.2.2
with:
name: eslint-report.json
path: eslint-report.json
52 changes: 52 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
name: Tests

on: [push]

jobs:
testing:
name: Test
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
node-version: [10.x, 12.x, 14.x, 15.x]
redis-version: [4.x, 5.x, 6.x]

steps:
- uses: actions/checkout@v2.3.4
with:
fetch-depth: 1

- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2.1.5
with:
node-version: ${{ matrix.node-version }}

- name: Setup Redis
uses: shogo82148/actions-setup-redis@v1.9.7
with:
redis-version: ${{ matrix.redis-version }}
auto-start: "false"

- name: Disable IPv6
run: sudo sh -c 'echo 0 > /proc/sys/net/ipv6/conf/all/disable_ipv6';

- name: Setup Stunnel
run: sudo apt-get install stunnel4

- name: Install Packages
run: npm i --no-audit --prefer-offline

- name: Run Tests
run: npm test

- name: Submit Coverage
run: npm run coveralls
env:
COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_TOKEN }}

- name: Upload Coverage Report
uses: actions/upload-artifact@v2.2.2
with:
name: coverage
path: coverage
49 changes: 49 additions & 0 deletions .github/workflows/tests_windows.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
name: Tests Windows

on: [push]

jobs:
testing-windows:
name: Test Windows
runs-on: windows-latest
strategy:
fail-fast: false
matrix:
node-version: [10.x, 12.x, 14.x, 15.x]
steps:
- uses: actions/checkout@v2.3.4
with:
fetch-depth: 1

- name: Install Redis
uses: crazy-max/ghaction-chocolatey@v1.4.0
with:
args: install redis-64 --version=3.0.503 --no-progress

- name: Start Redis
run: |
redis-server --service-install
redis-server --service-start
redis-cli config set stop-writes-on-bgsave-error no
- name: Setup Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2.1.5
with:
node-version: ${{ matrix.node-version }}

- name: Install Packages
run: npm i --no-audit --prefer-offline

- name: Run Tests
run: npm test

- name: Submit Coverage
run: npm run coveralls
env:
COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_TOKEN }}

- name: Upload Coverage Report
uses: actions/upload-artifact@v2.2.2
with:
name: coverage
path: coverage
8 changes: 8 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -7,3 +7,11 @@ coverage
stunnel.conf
stunnel.pid
*.out
package-lock.json

# IntelliJ IDEs
.idea
# VisualStudioCode IDEs
.vscode
.vs
eslint-report.json
12 changes: 12 additions & 0 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -3,8 +3,20 @@ benchmarks/
test/
.nyc_output/
coverage/
.github/
.eslintignore
.eslintrc
.tern-port
*.log
*.rdb
*.out
*.yml
.vscode
.idea
CONTRIBUTING.md
CODE_OF_CONDUCT.md
.travis.yml
appveyor.yml
package-lock.json
.prettierrc
eslint-report.json
11 changes: 11 additions & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"arrowParens": "avoid",
"trailingComma": "all",
"useTabs": false,
"semi": true,
"singleQuote": false,
"bracketSpacing": true,
"jsxBracketSameLine": false,
"tabWidth": 2,
"printWidth": 100
}
Loading