Skip to content

Commit

Permalink
Run prettier on all files (graphql#546)
Browse files Browse the repository at this point in the history
  • Loading branch information
IvanGoncharov authored and jliu670 committed Aug 14, 2020
1 parent d693f6b commit c60bb2e
Show file tree
Hide file tree
Showing 6 changed files with 147 additions and 126 deletions.
16 changes: 9 additions & 7 deletions .eslintrc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,8 @@ rules:
flowtype/require-readonly-react-props: off
flowtype/require-return-type: off
flowtype/require-types-at-top: off
flowtype/require-valid-file-annotation: [error, always, { annotationStyle: line, strict: true }]
flowtype/require-valid-file-annotation:
[error, always, { annotationStyle: line, strict: true }]
flowtype/require-variable-type: off
flowtype/sort-keys: off
flowtype/spread-exact-type: off
Expand Down Expand Up @@ -126,7 +127,7 @@ rules:
no-implied-eval: error
no-invalid-this: off
no-iterator: error
no-labels: [error, {allowLoop: true}]
no-labels: [error, { allowLoop: true }]
no-lone-blocks: error
no-loop-func: error
no-magic-numbers: off
Expand Down Expand Up @@ -164,7 +165,7 @@ rules:
require-await: error
require-unicode-regexp: off
vars-on-top: error
yoda: [error, never, {exceptRange: true}]
yoda: [error, never, { exceptRange: true }]

# Strict Mode
# https://eslint.org/docs/rules/#strict-mode
Expand All @@ -183,7 +184,8 @@ rules:
no-undef: error
no-undef-init: error
no-undefined: off
no-unused-vars: [error, {vars: all, args: after-used, argsIgnorePattern: "^_"}]
no-unused-vars:
[error, { vars: all, args: after-used, argsIgnorePattern: '^_' }]
no-use-before-define: off

# Node.js and CommonJS
Expand All @@ -204,15 +206,15 @@ rules:
# Stylistic Issues
# https://eslint.org/docs/rules/#stylistic-issues

camelcase: [error, {properties: always}]
camelcase: [error, { properties: always }]
capitalized-comments: off # maybe
consistent-this: off
func-name-matching: off
func-names: off
func-style: off
id-blacklist: off
id-length: off
id-match: [error, "^(?:_?[a-zA-Z0-9]*)|[_A-Z0-9]+$"]
id-match: [error, '^(?:_?[a-zA-Z0-9]*)|[_A-Z0-9]+$']
line-comment-position: off
lines-around-comment: off
lines-between-class-members: [error, always, { exceptAfterSingleLine: true }]
Expand Down Expand Up @@ -343,7 +345,7 @@ rules:
yield-star-spacing: off

overrides:
- files: "resources/**"
- files: 'resources/**'
parserOptions:
sourceType: script
rules:
Expand Down
6 changes: 3 additions & 3 deletions .nycrc.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
include:
- "src/"
- 'src/'
exclude:
- "src/polyfills"
- 'src/polyfills'
clean: true
temp-directory: "coverage"
temp-directory: 'coverage'
skip-full: true
reporter: [lcov, html, text]
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ notifications:
on_failure: change
skip_join: true
channels:
- "chat.freenode.net#graphql"
- 'chat.freenode.net#graphql'
slack:
secure: eFMk+9i9G0F8VYd0cd+qfBXEcngR1odYzGapdSSPH0Ag6Ck1sjK64n0iFwz+RDV2sSVnjnAA5qbXNcltBhEe1DkNsZVXOp4cDxKiFQOH1NJu9m29rYx+dZ4H93JjuDtH0u2o2op/PhtXlwAjr8GBcdGgFNTUbiJv9nIj4sYudQJFL8VUQwYviRO28xx12hG7cmKvQ7YZ/OKz52oGnIOM4yoQgPKFRY4ztMr6OrHwDwWMAxptZjKYY0i2hE3ot+OkWeWteZvE9E2Q0OJI7C6XlZg+bR6Mu7VS5s6jjL21luJJBgwihLuWVNMXxxEfoUCldo0s/RX8lObuFocKpnAtqVimr1rPZtUYZzy/Jjd1fxa27TgONZUgibWoRbAFDCdKhJOsBSLGfvQw+a3sxkV5zD5DKpgaNavT+GbOZJn4KGw3i1M/5Gp1tqB+RsTMjRvXQH5rsc+9z/flys1K9sNrc7O0NS2sVPayf4U5ECgT6t0y6NM1hQNepNHbvPSU/I/dUPYQEMcWMtdgtApAeUcbsRFUgFejNwp4hhTz0MS6k9AtmLJ79mNQBqDgZ3/pnW/YjW7BsK8/f6xOabxJjwIdLJvAifxRy/oj8wd5ttx8u+qKZ547PhdNJiMV7H60tGqkJshqbphlvWr48l0EV0A635uY24VefYoTeMIXZSeueME=

Expand Down
Loading

0 comments on commit c60bb2e

Please sign in to comment.