Skip to content

Commit

Permalink
refactor(eslint): update eslint config and fix issues
Browse files Browse the repository at this point in the history
  • Loading branch information
OliverDudgeon committed Jan 30, 2025
1 parent 90d9374 commit aab229a
Show file tree
Hide file tree
Showing 13 changed files with 4,896 additions and 2,295 deletions.
1 change: 0 additions & 1 deletion .eslintignore

This file was deleted.

10 changes: 0 additions & 10 deletions .eslintrc.cjs

This file was deleted.

11 changes: 11 additions & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"trailingComma": "all",
"singleQuote": false,
"printWidth": 100,
"semi": true,
"arrowParens": "always",
"bracketSpacing": true,
"bracketSameLine": false,
"useTabs": false,
"tabWidth": 2
}
3 changes: 3 additions & 0 deletions eslint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
import config from "@squonk/eslint-config";

export default config.map((c) => ({ ...c, ignores: ["**/dist/**"] }));
12 changes: 6 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,12 +35,12 @@
"test": "vitest"
},
"devDependencies": {
"@squonk/eslint-config": "1.0.0",
"@types/node": "18.11.9",
"eslint": "8.54.0",
"tsup": "8.0.1",
"typescript": "5.3.2",
"vitest": "0.34.6",
"@squonk/eslint-config": "2.0.0",
"@types/node": "22.9.0",
"eslint": "8.57.0",
"tsup": "8.0.2",
"typescript": "5.4.5",
"vitest": "1.5.0",
"node-fetch": "3.3.2"
}
}
Loading

0 comments on commit aab229a

Please sign in to comment.