Skip to content

Commit

Permalink
chore: changing deps for flat config
Browse files Browse the repository at this point in the history
  • Loading branch information
nicholasgriffintn committed Dec 16, 2024
1 parent c00f7eb commit e95e9ce
Show file tree
Hide file tree
Showing 12 changed files with 6,506 additions and 50 deletions.
3 changes: 2 additions & 1 deletion .npmignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,5 @@ scripts
.prettierignore
.prettierrc.js
jsr.json
typdoc.json
typdoc.json
eslint.config.js
13 changes: 13 additions & 0 deletions eslint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
import eslintConfigESLint from "eslint-config-eslint";

export default [
...eslintConfigESLint,
{
ignores: ["node_modules", "coverage", "bake-scripts", "dist"],
},
{
rules: {
"new-cap": "off",
},
},
];
29 changes: 2 additions & 27 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
"test": "npm run test:unit && npm run test:integration",
"coverage": "c8 mocha && c8 report --reporter=html && c8 report --reporter=json-summary",
"lcov": "c8 mocha && c8 report --reporter=lcov",
"lint": "eslint . --ext .ts",
"lint": "eslint .",
"lint:fix": "eslint . --fix",
"format": "prettier --log-level warn --write \"**/*.{js,json,jsx,md,ts,tsx,html}\"",
"format:check": "prettier --check \"**/*.{js,json,jsx,md,ts,tsx,html}\"",
Expand Down Expand Up @@ -163,8 +163,7 @@
"chai": "^5.0.0",
"conventional-changelog-conventionalcommits": "^8.0.0",
"eslint": "^9.0.0",
"eslint-config-iplayer": "^9.2.0",
"eslint-config-prettier": "^9.1.0",
"eslint-config-eslint": "^11.0.0",
"jsr": "^0.13.1",
"mocha": "^11.0.0",
"p-event": "^6.0.1",
Expand Down Expand Up @@ -201,29 +200,5 @@
],
"sourceMap": true,
"instrument": true
},
"eslintConfig": {
"extends": [
"iplayer/base",
"iplayer/ts",
"prettier"
],
"parserOptions": {
"sourceType": "module"
},
"rules": {
"@typescript-eslint/naming-convention": [
"error",
{
"selector": "variable",
"format": [
"camelCase",
"UPPER_CASE",
"PascalCase"
],
"leadingUnderscore": "allow"
}
]
}
}
}
Loading

0 comments on commit e95e9ce

Please sign in to comment.