Skip to content

Commit

Permalink
Update dev-deps, re-prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
kristiandupont committed Oct 8, 2023
1 parent b080bfe commit 29d05d0
Show file tree
Hide file tree
Showing 19 changed files with 2,085 additions and 1,349 deletions.
4 changes: 2 additions & 2 deletions .github/ISSUE_TEMPLATE/sweep-bugfix.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: Bugfix
title: 'Sweep: '
title: "Sweep: "
description: Write something like "We notice ... behavior when ... happens instead of ...""
labels: sweep
body:
Expand All @@ -8,4 +8,4 @@ body:
attributes:
label: Details
description: More details about the bug
placeholder: The bug might be in ... file
placeholder: The bug might be in ... file
4 changes: 2 additions & 2 deletions .github/ISSUE_TEMPLATE/sweep-feature.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: Feature Request
title: 'Sweep: '
title: "Sweep: "
description: Write something like "Write an api endpoint that does "..." in the "..." file"
labels: sweep
body:
Expand All @@ -8,4 +8,4 @@ body:
attributes:
label: Details
description: More details for Sweep
placeholder: The new endpoint should use the ... class from ... file because it contains ... logic
placeholder: The new endpoint should use the ... class from ... file because it contains ... logic
4 changes: 2 additions & 2 deletions .github/ISSUE_TEMPLATE/sweep-refactor.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: Refactor
title: 'Sweep: '
title: "Sweep: "
description: Write something like "Modify the ... api endpoint to use ... version and ... framework"
labels: sweep
body:
Expand All @@ -8,4 +8,4 @@ body:
attributes:
label: Details
description: More details for Sweep
placeholder: We are migrating this function to ... version because ...
placeholder: We are migrating this function to ... version because ...
24 changes: 12 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,26 +29,26 @@ Here is an example configuration file:
```javascript
module.exports = {
connection: {
host: 'localhost',
user: 'postgres',
password: 'postgres',
database: 'acme',
charset: 'utf8',
host: "localhost",
user: "postgres",
password: "postgres",
database: "acme",
charset: "utf8",
},

plugins: ['./custom-rules'],
plugins: ["./custom-rules"],

rules: {
'name-casing': ['error', 'snake'],
'name-inflection': ['error', 'singular'],
'prefer-jsonb-to-json': ['error'],
'prefer-text-to-varchar': ['error'],
"name-casing": ["error", "snake"],
"name-inflection": ["error", "singular"],
"prefer-jsonb-to-json": ["error"],
"prefer-text-to-varchar": ["error"],
},

schemas: [{ name: 'public' }],
schemas: [{ name: "public" }],

ignores: [
{ identifierPattern: 'public\\.knex_migrations.*', rulePattern: '.*' },
{ identifierPattern: "public\\.knex_migrations.*", rulePattern: ".*" },
],
};
```
Expand Down
Loading

0 comments on commit 29d05d0

Please sign in to comment.