Skip to content

Commit

Permalink
Update syntax highlighting in README
Browse files Browse the repository at this point in the history
  • Loading branch information
cleve-fauna authored Dec 19, 2024
1 parent 5b1cd6a commit 2604564
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ yarn add -D @fauna/typescript
### ES Lint Config
In `eslint.config.js` put:

```(javascript)
```javascript
import { config as defaultConfig } from "@fauna/typescript/config/js/eslint.config.js";

export default [
Expand All @@ -38,7 +38,7 @@ export default [
```
### Prettier Config
In `prettier.config.js`
```(javascript)
```javascript
import basePrettierConfig from "@fauna/typescript/config/prettierrc.js";

/**
Expand All @@ -55,7 +55,7 @@ export default config;
## Script
You can then write scripts in your `package.json` such as:

```(json)
```json
"scripts": {
"lint": "eslint . --fix",
"format": "prettier -w --log-level silent .",
Expand Down

0 comments on commit 2604564

Please sign in to comment.