-
Notifications
You must be signed in to change notification settings - Fork 87
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: add biome as linter/formatter (#156)
- Loading branch information
1 parent
5c3269d
commit 3eda4a0
Showing
209 changed files
with
4,264 additions
and
4,265 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
export default { | ||
'**/*.(js|jsx|ts|jsx|md|mdx|json|html|css)': ['prettier --write'], | ||
'**/*.ts?(x)': ['eslint'], | ||
'**/*.(js|jsx|ts|tsx|md|json|mdx|html|css)': ['biome check --apply-unsafe'], | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,80 @@ | ||
{ | ||
"$schema": "./node_modules/@biomejs/biome/configuration_schema.json", | ||
"organizeImports": { | ||
"enabled": true | ||
}, | ||
"formatter": { | ||
"enabled": true, | ||
"formatWithErrors": true, | ||
"indentStyle": "space", | ||
"indentWidth": 2, | ||
"lineWidth": 80 | ||
}, | ||
"linter": { | ||
"enabled": true, | ||
"rules": { | ||
"recommended": true, | ||
"style": { | ||
"noNonNullAssertion": "off" | ||
}, | ||
"suspicious": { | ||
"noExplicitAny": "warn", | ||
"noImplicitAnyLet": "warn", | ||
"noArrayIndexKey": "off", | ||
"noConfusingVoidType": "off", | ||
"noSelfCompare": "off" | ||
}, | ||
"correctness": { | ||
"useExhaustiveDependencies": "off" | ||
}, | ||
"complexity": { | ||
"noStaticOnlyClass": "off", | ||
"noForEach": "warn", | ||
"noBannedTypes": "off" | ||
}, | ||
"performance": { | ||
"noAccumulatingSpread": "off" | ||
}, | ||
"a11y": { | ||
"noSvgWithoutTitle": "off" | ||
} | ||
} | ||
}, | ||
"javascript": { | ||
"formatter": { | ||
"quoteStyle": "single" | ||
} | ||
}, | ||
"json": { | ||
"parser": { | ||
"allowTrailingCommas": true | ||
} | ||
}, | ||
"vcs": { | ||
"enabled": true, | ||
"clientKind": "git", | ||
"useIgnoreFile": true | ||
}, | ||
"files": { | ||
"ignore": [ | ||
"**/node_modules", | ||
"**/.turbo", | ||
"**/.next", | ||
"**/.vercel", | ||
"**/dist", | ||
"**/build", | ||
"**/fuel-v2-contracts", | ||
"**/coverage", | ||
"**/generated", | ||
"**/storybook-static", | ||
"*.typegen.ts", | ||
"./packages/app-explorer/public/storybook", | ||
"./packages/app-explorer/public/ui", | ||
"./packages/app-explorer/public/portal", | ||
"./packages/app-explorer/public/portal-storybook", | ||
"./packages/app-portal/public/**", | ||
"./packages/app-portal/src/types", | ||
"pnpm-lock.yaml" | ||
] | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,6 +7,6 @@ | |
"license": "MIT", | ||
"dependencies": { | ||
"dotenv": "^10.0.0", | ||
"hardhat": "^2.9.6" | ||
"hardhat": "^2.19.5" | ||
} | ||
} |
Oops, something went wrong.