Skip to content
Merged
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
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
{
"$schema": "./node_modules/oxfmt/configuration_schema.json",
"semi": true,
"singleQuote": true,
"trailingComma": "es5",
"useTabs": false,
"tabWidth": 4,
"arrowParens": "always",
"printWidth": 80
"printWidth": 80,
"sortPackageJson": false,
"ignorePatterns": []
}
25 changes: 25 additions & 0 deletions type-length-value-js/.oxlintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
{
"$schema": "./node_modules/oxlint/configuration_schema.json",
"plugins": ["typescript", "unicorn", "oxc", "import"],
"categories": {
"correctness": "error"
},
"rules": {
"typescript/ban-ts-comment": "off",
"typescript/no-explicit-any": "off",
"typescript/no-unused-vars": "off",
"no-unused-vars": "off",
"typescript/no-empty-object-type": "off",
"typescript/consistent-type-imports": "error",
"import/extensions": ["error", "ignorePackages"]
},
"ignorePatterns": ["dist", "docs", "lib", "test-ledger"],
"overrides": [
{
"files": ["examples/**/*", "test/**/*"],
"rules": {
"import/extensions": "off"
}
}
]
}
40 changes: 0 additions & 40 deletions type-length-value-js/eslint.config.mjs

This file was deleted.

19 changes: 7 additions & 12 deletions type-length-value-js/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,10 @@
"deploy": "npm run deploy:docs",
"deploy:docs": "npm run docs && gh-pages --dest type-length-value/js --dist docs --dotfiles",
"docs": "shx rm -rf docs && typedoc && shx cp .nojekyll docs/",
"format": "prettier --check src test",
"format:fix": "prettier --write src test",
"lint": "eslint --max-warnings 0 src test",
"lint:fix": "eslint --fix src test",
"format": "oxfmt --check src test",
"format:fix": "oxfmt --write src test",
"lint": "oxlint --max-warnings 0",
"lint:fix": "oxlint --fix",
"postbuild": "shx echo '{ \"type\": \"commonjs\" }' > lib/cjs/package.json",
"reinstall": "npm run nuke && npm install",
"release": "npm run clean && npm run build",
Expand All @@ -48,22 +48,17 @@
"buffer": "^6.0.3"
},
"devDependencies": {
"@eslint/eslintrc": "^3.3.1",
"@eslint/js": "^9.24.0",
"@solana/prettier-config-solana": "^0.0.5",
"@types/chai": "^5.0.1",
"@types/mocha": "^10.0.10",
"@types/node": "^22.10.2",
"chai": "^5.1.2",
"eslint": "^9.24.0",
"eslint-plugin-import-extensions": "^0.1.5",
"gh-pages": "^6.2.0",
"mocha": "^11.0.1",
"prettier": "^3.4.2",
"oxfmt": "^0.60.0",
"oxlint": "^1.75.0",
"shx": "^0.3.4",
"ts-node": "^10.9.2",
"typedoc": "^0.27.4",
"typescript": "^5.8.3",
"typescript-eslint": "^8.30.0"
"typescript": "^5.8.3"
}
}
Loading
Loading