Skip to content

Commit

Permalink
Add prettier config
Browse files Browse the repository at this point in the history
  • Loading branch information
jonathan-waarneming-nl committed Oct 6, 2024
1 parent e662a7c commit 9bb06c6
Show file tree
Hide file tree
Showing 7 changed files with 226 additions and 261 deletions.
8 changes: 8 additions & 0 deletions .prettierrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
module.exports = {
printWidth: 120,
bracketSpacing: true,
bracketSameLine: false,
semi: false,
singleQuote: true,
trailingComma: 'all',
}
2 changes: 1 addition & 1 deletion dist/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

82 changes: 46 additions & 36 deletions dist/rules/no-function-without-logging.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions src/index.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import noFunctionWithoutLogging from "./rules/no-function-without-logging"
import noFunctionWithoutLogging from './rules/no-function-without-logging'

const rules = {
"no-function-without-logging": noFunctionWithoutLogging,
'no-function-without-logging': noFunctionWithoutLogging,
}

export { rules }
Loading

0 comments on commit 9bb06c6

Please sign in to comment.