Skip to content

Commit

Permalink
changed formatting from double to single quotes
Browse files Browse the repository at this point in the history
  • Loading branch information
pranav-kural committed Jul 24, 2024
1 parent 82aa6dd commit 9aa2ddd
Show file tree
Hide file tree
Showing 17 changed files with 2,971 additions and 2,982 deletions.
60 changes: 30 additions & 30 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,53 +8,53 @@

version: 2
updates:
- package-ecosystem: "npm"
directory: "/"
- package-ecosystem: 'npm'
directory: '/'
schedule:
interval: "daily"
interval: 'daily'
commit-message:
prefix: "Dependency Updates"
prefix: 'Dependency Updates'
groups:
# group dev dependencies together in a single pull request
dev-dependencies:
applies-to: version-updates
patterns:
- "@eslint*"
- "@swc*"
- "@types*"
- "eslint*"
- "jest"
- "nodemon"
- "prettier"
- "ts-*"
- "tsx"
- "typescript*"
- '@eslint*'
- '@swc*'
- '@types*'
- 'eslint*'
- 'jest'
- 'nodemon'
- 'prettier'
- 'ts-*'
- 'tsx'
- 'typescript*'
dev-dependencies-security-updates:
applies-to: security-updates
patterns:
- "@eslint*"
- "@swc*"
- "@types*"
- "eslint*"
- "jest"
- "nodemon"
- "prettier"
- "ts-*"
- "tsx"
- "typescript*"
- '@eslint*'
- '@swc*'
- '@types*'
- 'eslint*'
- 'jest'
- 'nodemon'
- 'prettier'
- 'ts-*'
- 'tsx'
- 'typescript*'
# group QvikChat related updates in a single pull request
qvikchat:
applies-to: version-updates
patterns:
- "@oconva/qvikchat"
- '@oconva/qvikchat'
qvikchat-security-updates:
applies-to: security-updates
patterns:
- "@oconva/qvikchat"
- '@oconva/qvikchat'

- package-ecosystem: "github-actions"
directory: "/"
- package-ecosystem: 'github-actions'
directory: '/'
schedule:
interval: "daily"
interval: 'daily'
commit-message:
prefix: "GitHub Actions Updates"
prefix: 'GitHub Actions Updates'
6 changes: 3 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
name: Pre-deploy Workflow
on:
push:
branches: ["main"]
branches: ['main']
pull_request:
branches: ["main"]
branches: ['main']

jobs:
build:
Expand All @@ -21,7 +21,7 @@ jobs:
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: "pnpm"
cache: 'pnpm'
- name: Clean Installation of Dependencies
run: pnpm install --frozen-lockfile
- name: ESLint
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,15 @@
# the `language` matrix defined below to confirm you have the correct set of
# supported CodeQL languages.
#
name: "CodeQL"
name: 'CodeQL'

on:
push:
branches: ["main"]
branches: ['main']
pull_request:
branches: ["main"]
branches: ['main']
schedule:
- cron: "44 1 * * 1"
- cron: '44 1 * * 1'

jobs:
analyze:
Expand Down Expand Up @@ -90,4 +90,4 @@ jobs:
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v3
with:
category: "/language:${{matrix.language}}"
category: '/language:${{matrix.language}}'
8 changes: 4 additions & 4 deletions .github/workflows/dependency-review.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@
#
# Source repository: https://github.com/actions/dependency-review-action
# Public documentation: https://docs.github.com/en/code-security/supply-chain-security/understanding-your-software-supply-chain/about-dependency-review#dependency-review-enforcement
name: "Dependency review"
name: 'Dependency review'
on:
pull_request:
branches: ["main"]
branches: ['main']

# If using a dependency submission action in this workflow this permission will need to be set to:
#
Expand All @@ -27,9 +27,9 @@ jobs:
dependency-review:
runs-on: ubuntu-latest
steps:
- name: "Checkout repository"
- name: 'Checkout repository'
uses: actions/checkout@v4
- name: "Dependency Review"
- name: 'Dependency Review'
uses: actions/dependency-review-action@v4
# Commonly enabled options, see https://github.com/actions/dependency-review-action#configuration-options for all available options.
with:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/publish-npm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ jobs:
- name: Install Node.js and Setup NPMRC
uses: actions/setup-node@v4
with:
node-version: "20.x"
registry-url: "https://registry.npmjs.org"
node-version: '20.x'
registry-url: 'https://registry.npmjs.org'
cache: pnpm

- name: Install dependencies
Expand Down
7 changes: 3 additions & 4 deletions .prettierrc
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,14 @@
"tabWidth": 2,
"useTabs": false,
"semi": true,
"singleQuote": false,
"singleQuote": true,
"quoteProps": "as-needed",
"trailingComma": "es5",
"bracketSpacing": true,
"bracketSpacing": false,
"bracketSameLine": true,
"arrowParens": "always",
"requirePragma": false,
"insertPragma": false,
"proseWrap": "preserve",
"htmlWhitespaceSensitivity": "css",
"vueIndentScriptAndStyle": false,
"endOfLine": "lf"
}
8 changes: 4 additions & 4 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
import eslint from "@eslint/js";
import tseslint from "typescript-eslint";
import prettierConfig from "eslint-config-prettier";
import eslint from '@eslint/js';
import tseslint from 'typescript-eslint';
import prettierConfig from 'eslint-config-prettier';

export default tseslint.config(
{
ignores: ["lib"],
ignores: ['lib'],
},
eslint.configs.recommended,
...tseslint.configs.strict,
Expand Down
8 changes: 4 additions & 4 deletions jest.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* https://jestjs.io/docs/configuration
*/

import type { Config } from "jest";
import type {Config} from 'jest';

const config: Config = {
// All imported modules in your tests should be mocked automatically
Expand Down Expand Up @@ -33,7 +33,7 @@ const config: Config = {
// ],

// Indicates which provider should be used to instrument code for coverage
coverageProvider: "v8",
coverageProvider: 'v8',

// A list of reporter names that Jest uses when writing coverage reports
// coverageReporters: [
Expand Down Expand Up @@ -155,7 +155,7 @@ const config: Config = {
// testLocationInResults: false,

// The glob patterns Jest uses to detect test files
testMatch: ["**/lib/tests/**/*.[jt]s?(x)"],
testMatch: ['**/lib/tests/**/*.[jt]s?(x)'],

// An array of regexp pattern strings that are matched against all test paths, matched tests are skipped
// testPathIgnorePatterns: [
Expand All @@ -173,7 +173,7 @@ const config: Config = {

// A map from regular expressions to paths to transformers
transform: {
"^.+\\.ts?$": "ts-jest",
'^.+\\.ts?$': 'ts-jest',
},

// An array of regexp pattern strings that are matched against all source file paths, matched files will skip transformation
Expand Down
Loading

0 comments on commit 9aa2ddd

Please sign in to comment.