Remove eslint completely

This commit is contained in:
Carter McBride 2024-07-04 14:32:53 -06:00
parent 6b1e3157ec
commit dde2294c2b
4 changed files with 76 additions and 82 deletions

12
biome.json Normal file
View file

@ -0,0 +1,12 @@
{
"$schema": "https://biomejs.dev/schemas/1.8.1/schema.json",
"organizeImports": {
"enabled": true
},
"linter": {
"enabled": true,
"rules": {
"recommended": true
}
}
}

View file

@ -1,9 +0,0 @@
import pluginJs from "@eslint/js";
import globals from "globals";
import tseslint from "typescript-eslint";
export default [
{ languageOptions: { globals: { ...globals.browser, ...globals.node } } },
pluginJs.configs.recommended,
...tseslint.configs.recommended,
];

View file

@ -1,46 +1,44 @@
{ {
"name": "bubo-reader", "name": "bubo-reader",
"version": "2.0.2", "version": "2.0.2",
"description": "A simple but effective feed reader (RSS, JSON)", "description": "A simple but effective feed reader (RSS, JSON)",
"homepage": "https://github.com/georgemandis/bubo-rss", "homepage": "https://github.com/georgemandis/bubo-rss",
"main": "src/index.ts", "main": "src/index.ts",
"type": "module", "type": "module",
"scripts": { "scripts": {
"clean": "rm -rf dist", "clean": "rm -rf dist",
"build": "bun src/index.ts", "build": "bun src/index.ts",
"check": "biome check --write ./{src,config,public} ./eslint.config.js" "check": "biome check --write ./{src,config,public} ./*.json --no-errors-on-unmatched"
}, },
"author": { "author": {
"name": "George Mandis", "name": "George Mandis",
"email": "george@mand.is", "email": "george@mand.is",
"url": "https://george.mand.is" "url": "https://george.mand.is"
}, },
"funding": { "funding": {
"type": "github", "type": "github",
"url": "https://github.com/sponsors/georgemandis" "url": "https://github.com/sponsors/georgemandis"
}, },
"bugs": { "bugs": {
"url": "https://github.com/georgemandis/bubo-rss/issues", "url": "https://github.com/georgemandis/bubo-rss/issues",
"email": "george+bubo@mand.is" "email": "george+bubo@mand.is"
}, },
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"@feelinglovelynow/get-relative-time": "^1.1.2", "@feelinglovelynow/get-relative-time": "^1.1.2",
"chalk": "^5.2.0", "chalk": "^5.2.0",
"node-fetch": "^3.3.1", "node-fetch": "^3.3.1",
"nunjucks": "^3.2.4", "nunjucks": "^3.2.4",
"rss-parser": "^3.13.0" "rss-parser": "^3.13.0"
}, },
"devDependencies": { "devDependencies": {
"@biomejs/biome": "^1.8.1", "@biomejs/biome": "^1.8.1",
"@types/bun": "latest", "@types/bun": "latest",
"@types/nunjucks": "^3.2.2", "@types/nunjucks": "^3.2.2",
"@types/xml2js": "^0.4.11", "@types/xml2js": "^0.4.11",
"tslib": "^2.5.3", "tslib": "^2.5.3",
"typescript": "^5.1.3", "typescript": "^5.1.3",
"typescript-eslint": "^7.13.1" "typescript-eslint": "^7.13.1"
}, },
"trustedDependencies": [ "trustedDependencies": ["@biomejs/biome"]
"@biomejs/biome"
]
} }

View file

@ -1,30 +1,23 @@
{ {
"compilerOptions": { "compilerOptions": {
"module": "esnext", "module": "esnext",
"forceConsistentCasingInFileNames": true, "forceConsistentCasingInFileNames": true,
"removeComments": true, "removeComments": true,
"strict": true, "strict": true,
"importHelpers": true, "importHelpers": true,
"esModuleInterop": true, "esModuleInterop": true,
"allowSyntheticDefaultImports": true, "allowSyntheticDefaultImports": true,
"target": "ES2021", "target": "ES2021",
"noImplicitAny": true, "noImplicitAny": true,
"moduleResolution": "node", "moduleResolution": "node",
"sourceMap": false, "sourceMap": false,
"resolveJsonModule": true, "resolveJsonModule": true,
"outDir": "dist", "outDir": "dist",
"baseUrl": ".", "baseUrl": ".",
"typeRoots": [ "typeRoots": ["src/@types"],
"src/@types" "paths": {
], "*": ["node_modules/*", "src/@types"]
"paths": { }
"*": [ },
"node_modules/*", "include": ["src/**/*"]
"src/@types" }
]
}
},
"include": [
"src/**/*"
]
}