mirror of
https://github.com/DIYgod/RSSHub.git
synced 2026-03-13 10:30:18 +08:00
* chore: add oxlint support * style: apply autofix * style: apply autofix for toSorted * style: use alternative api for nsfw-flag jsPlugins * fix: git diff * fix: codeql * test: console.log * style: update lint workflow to use Checkstyle SARIF converter * style: remove debug log from extractDateFromURL function * chore: use oxlint-json-to-sarif * test: console.log * test: remove console.log * test: update cookie data expectation in getCookies test https://github.com/mccutchen/go-httpbin/pull/235 breaks this * style: type-aware linting * style: enable type-aware linting for oxlint
17 lines
584 B
JSON
17 lines
584 B
JSON
{
|
|
"$schema": "./node_modules/oxfmt/configuration_schema.json",
|
|
"printWidth": 233,
|
|
"tabWidth": 4,
|
|
"singleQuote": true,
|
|
"trailingComma": "es5",
|
|
"arrowParens": "always",
|
|
"ignorePatterns": ["lib/routes-deprecated", "lib/router.js", "babel.config.js", "scripts/docker/minify-docker.js", "dist", "pnpm-lock.yaml"],
|
|
"sortPackageJson": {
|
|
"sortScripts": true
|
|
},
|
|
"sortImports": {
|
|
"groups": ["side_effect", "builtin", "external", ["internal", "subpath"], ["parent", "sibling", "index"], "style", "unknown"],
|
|
"order": "asc"
|
|
}
|
|
}
|