Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -808,17 +808,17 @@ jobs:
if: always()
run: pnpm run lint.syncpack

- name: Prettier Check
- name: Format Check
if: always()
run: pnpm run lint.prettier
run: pnpm run lint.fmt

- name: Build ESLint
- name: Build ESLint Plugin
if: always()
run: pnpm build --eslint

- name: ESLint Check
- name: Lint Check
if: always()
run: pnpm run lint.eslint
run: pnpm run lint.oxlint

############ RELEASE ############
release:
Expand Down
28 changes: 4 additions & 24 deletions .prettierignore → .oxfmtignore
Original file line number Diff line number Diff line change
@@ -1,44 +1,24 @@
**/*.api.md
# Ignore patterns
**/**.api.md
**/*.log
**/.DS_Store
*.
pnpm-lock.yaml
.*
!.eslintrc.cjs
!.prettierignore
!.prettierrc.json

# Build output
dist
dist-dev
lib
target
starters/apps/**/dist
node_modules

tsconfig.tsbuildinfo

# REPL files
packages/docs/public/repl/repl-sw.js*

# build output
packages/*/lib
packages/*/dist
packages/*/server

# API output files
packages/docs/src/routes/api

# Prettier doesn't handle mdx files well
packages/docs/**/*.mdx

packages/insights/drizzle
packages/insights/.netlify
packages/insights/scripts
packages/insights/**/*.gen.d.ts

# insights cache files
packages/qwik-labs/lib-types
packages/qwik-labs/vite
**/q-insights.json

# Exclude builder js files from formatting - delete after migration
packages/docs/public/builder
10 changes: 10 additions & 0 deletions .oxfmtrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"$schema": "https://oxc.rs/schemas/oxfmt.json",
"experimentalPrettierFallback": true,
"printWidth": 100,
"tabWidth": 2,
"useTabs": false,
"semi": true,
"singleQuote": true,
"trailingComma": "es5"
}
90 changes: 90 additions & 0 deletions .oxlintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,90 @@
{
"$schema": "https://raw.githubusercontent.com/oxc-project/oxc/main/npm/oxlint/configuration_schema.json",
"plugins": ["jsdoc", "import", "unicorn", "vitest"],
"rules": {
"no-console": ["error", { "allow": ["warn", "error"] }],
"curly": "error",
"no-new-func": "error",
"no-unused-vars": "off",
"no-unused-expressions": "off",
"no-control-regex": "off",
"no-shadow-restricted-names": "off",
"unicorn/no-empty-file": "off",
"unicorn/no-new-array": "off",
"jsdoc/check-property-names": "off",
"jsdoc/check-tag-names": "off",
"jsdoc/require-property": "off",
"jsdoc/require-yields": "off",
"vitest/expect-expect": "off",
"vitest/no-disabled-tests": "off",
"vitest/valid-title": "off",
"vitest/warn-todo": "off",
"jest/expect-expect": "off",
"jest/no-disabled-tests": "off",
"jest/valid-title": "off",
"jest/no-conditional-expect": "off",
"jest/valid-describe-callback": "off",
"jest/no-export": "off",
"import/default": "off",
"unicorn/prefer-string-starts-ends-with": "off",
"no-eval": "off",
"no-unsafe-optional-chaining": "off",
"unicorn/no-unnecessary-await": "off",
"unicorn/no-invalid-remove-event-listener": "off",
"jest/valid-expect": "off",
"vitest/no-conditional-tests": "off"
},
"overrides": [
{
"files": ["packages/docs/**/*.ts", "packages/docs/**/*.tsx"],
"rules": {
"no-console": "off",
"curly": "off"
}
}
],
"ignorePatterns": [
"**/.history",
"**/.vscode",
"**/dist",
"**/dist-dev",
"**/lib",
"**/node_modules",
"**/tsc-out",
"**/external",
"**/*.log",
"**/etc",
"**/target",
"**/temp",
"**/tsdoc-metadata.json",
"**/.DS_Store",
"**/*.mp4",
"scripts",
"**/server/**/*.js",
"**/*.tsbuildinfo",
"packages/docs/api",
"packages/docs/public/repl/repl-sw.js*",
"packages/docs/src/routes/examples/apps",
"packages/docs/src/routes/playground/app",
"packages/docs/src/routes/tutorial",
"packages/qwik/src/optimizer/core/src/fixtures",
"packages/qwik/bindings",
"packages/qwik-labs/lib",
"packages/qwik-labs/lib-types",
"packages/qwik-labs/vite",
"packages/insights/drizzle.config.ts",
"packages/insights/panda.config.ts",
"packages/qwik/src/napi",
"starters/apps/base",
"starters/apps/library",
"starters/templates",
"**/vite.config.ts",
"packages/qwik-labs",
"packages/insights",
"**/eslint.config.mjs",
"**/eslint.config.js",
".changeset",
"packages/docs/public/builder",
"packages/eslint-plugin-qwik/tests"
]
}
11 changes: 0 additions & 11 deletions .prettierrc.json

This file was deleted.

160 changes: 0 additions & 160 deletions eslint.config.mjs

This file was deleted.

Loading
Loading