🎨 Add linting and prettier to more places (#1432)

This commit is contained in:
Luke Vella 2024-11-09 15:43:25 +00:00 committed by GitHub
parent de6963db4f
commit ee68d80026
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
70 changed files with 136 additions and 141 deletions

View file

@ -0,0 +1,2 @@
/** @type {import("eslint").Linter.Config} */
module.exports = require("@rallly/eslint-config/preset")(__dirname);

View file

@ -1,10 +1,11 @@
{
"name": "@rallly/utils",
"type": "module",
"version": "0.0.0",
"private": true,
"scripts": {
"test:unit": "vitest run"
"test:unit": "vitest run",
"lint": "eslint ./src",
"type-check": "tsc --noEmit"
},
"exports": {
"./*": "./src/*.ts"

View file

@ -1,7 +1,7 @@
{
"compilerOptions": {
"types": ["vitest/globals"],
"types": ["vitest/globals"]
},
"extends": "@rallly/tsconfig/base.json",
"include": ["**/*.ts", "**/*.tsx"],
"include": ["**/*.ts", "**/*.tsx"]
}