Skip to content

Commit

Permalink
Normalize ESLint version
Browse files Browse the repository at this point in the history
  • Loading branch information
evshi committed Nov 15, 2024
1 parent 346d026 commit 8e87ba5
Show file tree
Hide file tree
Showing 9 changed files with 778 additions and 1,067 deletions.
4 changes: 4 additions & 0 deletions .lintstagedrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"*.{js,ts,tsx}": ["npm run format", "npm run lint --"],
"*.yaml": ["npm run format"]
}
9 changes: 2 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,18 +6,13 @@
"dev": "turbo run dev",
"lint": "turbo run lint",
"test": "turbo run test",
"format": "prettier --write \"**/*.{ts,tsx,md}\"",
"format": "prettier --write \"**/*.{ts,tsx,md,yaml,json}\"",
"release": "turbo run build --filter='./packages/*' && changeset publish",
"schema:generate": "ts-node --esm ./scripts/generateSchema.ts"
},
"devDependencies": {
"@changesets/cli": "^2.26.2",
"eslint": "^8.49.0",
"eslint-plugin-react-hooks": "^4.6.0",
"jest": "^27.5.1",
"lint-staged": "^14.0.1",
"lodash-es": "^4.17.21",
"prettier": "^3.0.3",
"@changesets/cli": "^2.26.2",
"ts-jest": "27.1.5",
"ts-json-schema-generator": "^1.5.0",
"ts-node": "^10.9.2",
Expand Down
2 changes: 1 addition & 1 deletion packages/cli/.eslintrc.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"extends": ["oclif", "oclif-typescript", "prettier"],
"ignorePatterns": ["./dist"]
"ignorePatterns": ["dist/"]
}
2 changes: 1 addition & 1 deletion packages/cli/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
/node_modules
oclif.manifest.json


tsconfig.tsbuildinfo
yarn.lock
package-lock.json

2 changes: 0 additions & 2 deletions packages/cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,9 @@
"@types/mocha": "^10",
"@types/node": "^16.18.45",
"chai": "^4",
"eslint": "^8",
"eslint-plugin-unicorn": "56.0.0",
"eslint-config-oclif": "^5",
"eslint-config-oclif-typescript": "^3",
"eslint-config-prettier": "^9",
"mocha": "^10",
"oclif": "^4",
"shx": "^0.3.3",
Expand Down
2 changes: 1 addition & 1 deletion packages/cli/src/commands/apps/get.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { getFirestoreApplicationTransporter, getLocalApplicationTransporter } from '@ensembleui/js-commons'
import {Args, Command, Flags} from '@oclif/core'
import { get } from 'lodash-es'
import * as path from 'node:path'
import path from 'node:path'

import { db } from '../../firebase.js'
import { getStoredToken, signInWithEmailPassword } from '../../utils.js'
Expand Down
2 changes: 2 additions & 0 deletions packages/eslint-config-custom/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
"version": "0.0.1",
"private": true,
"devDependencies": {
"prettier": "^3.0.3",
"eslint": "^8",
"@vercel/style-guide": "^4.0.2",
"eslint-config-prettier": "^9.0.0",
"eslint-config-turbo": "^1.10.12",
Expand Down
2 changes: 1 addition & 1 deletion packages/js-commons/.eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module.exports = {
extends: ["custom/library"],
ignores: ["tsup.config.ts"],
ignorePatterns: ["tsup.config.ts"],
};
Loading

0 comments on commit 8e87ba5

Please sign in to comment.