Skip to content
Draft
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
4 changes: 4 additions & 0 deletions packages/cspell-oxlint-plugin/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# Sample .gitignore

dist
temp
21 changes: 21 additions & 0 deletions packages/cspell-oxlint-plugin/LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
MIT License

Copyright (c) 2017 Jason Dent

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
10 changes: 10 additions & 0 deletions packages/cspell-oxlint-plugin/cspell.config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
ignorePaths:
- cspell*.{yaml,json}
- assets/options.schema.json
ignoreWords:
- todos
- bluelist
words:
- oxlint
- bence
- markus
97 changes: 97 additions & 0 deletions packages/cspell-oxlint-plugin/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,97 @@
{
"name": "@cspell/oxlint-plugin",
"publishConfig": {
"access": "public",
"provenance": true
},
"version": "9.5.0",
"description": "CSpell Oxlint plugin",
"keywords": [
"oxlint",
"plugin",
"spell",
"spell checker",
"spelling"
],
"author": "Jason Dent <[email protected]>",
"contributors": [
"Bence Markus <[email protected]>"
],
"homepage": "https://github.com/streetsidesoftware/cspell/tree/main/packages/cspell-oxlint-plugin#readme",
"license": "MIT",
"exports": {
"./package.json": "./package.json",
".": {
"types": "./dist/plugin/index.d.cts",
"require": "./dist/plugin/index.cjs",
"import": "./dist/plugin/index.cjs",
"default": "./dist/plugin/index.cjs"
},
"./configs": {
"types": "./dist/plugin/configs.d.cts",
"require": "./dist/plugin/configs.cjs",
"import": "./dist/plugin/configs.cjs",
"default": "./dist/plugin/configs.cjs"
},
"./recommended": {
"types": "./dist/plugin/recommended.d.cts",
"require": "./dist/plugin/recommended.cjs",
"import": "./dist/plugin/recommended.cjs",
"default": "./dist/plugin/recommended.cjs"
}
},
"type": "module",
"sideEffects": false,
"main": "dist/plugin/index.cjs",
"types": "dist/plugin/index.d.cts",
"files": [
"dist",
"!**/__mocks__",
"!**/*.spec.*",
"!**/*.test.*",
"!**/test*/**",
"!**/*.tsbuildInfo",
"!**/*.map"
],
"scripts": {
"bt": "pnpm build && pnpm test",
"build": "pnpm build:schema && pnpm build:src",
"build:src": "tsc -b ./tsconfig.json -f",
"build:schema": "pnpm build-options-schema",
"watch": "tsc -b ./tsconfig.json --watch -f",
"clean": "shx rm -rf dist temp coverage \"*.tsbuildInfo\"",
"clean-build": "pnpm run clean && pnpm run build",
"coverage": "echo coverage",
"test-watch": "pnpm run test -- --watch",
"test-yaml": "npx mocha --timeout 10000 \"dist/**/yaml.test.mjs\"",
"test-oxlint": "npx mocha --timeout 10000 \"dist/**/*.test.mjs\"",
"test-samples": "pnpm -r --filter @internal/oxlint-plugin-fixtures-simple test",
"test": "pnpm run test-oxlint && pnpm run test-samples"
},
"repository": {
"type": "git",
"url": "https://github.com/streetsidesoftware/cspell.git",
"directory": "packages/cspell-oxlint-plugin"
},
"bugs": {
"url": "https://github.com/streetsidesoftware/cspell"
},
"engines": {
"node": ">=20"
},
"devDependencies": {
"@internal/cspell-eslint-plugin-scripts": "workspace:*",
"@types/estree": "^1.0.8",
"@types/mocha": "^10.0.10",
"mocha": "^11.7.5",
"oxlint": "^1.36.0",
"ts-json-schema-generator": "^2.4.0",
"typescript": "~5.9.3"
},
"dependencies": {
"@cspell/cspell-types": "workspace:*",
"@cspell/url": "workspace:*",
"cspell-lib": "workspace:*",
"synckit": "^0.11.11"
}
}
1 change: 1 addition & 0 deletions packages/cspell-oxlint-plugin/src/plugin/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export {};
1 change: 1 addition & 0 deletions packages/cspell-oxlint-plugin/src/tsconfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{}
Loading