aboutsummaryrefslogtreecommitdiff
path: root/package.json
diff options
context:
space:
mode:
authorGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2024-08-04 19:40:14 +0200
committerGravatar GitHub <noreply@github.com> 2024-08-04 19:40:14 +0200
commitb6f7c31e4c03e1f5d9974c39550708844f479942 (patch)
treeb2715b49b42cede28ff6921dbb36ff24f1ad4dfb /package.json
parente269418a46ab1bd3713375de5cc109a35869efea (diff)
Migrate to ESLint 9 (#6685)
* Migrate to ESLint 9 * https://eslint.org/docs/latest/use/migrate-to-9.0.0 * https://eslint.style/guide/migration * https://github.com/neostandard/neostandard/ (https://github.com/standard/standard/issues/1948) fix broken Dependabot PRs such as https://github.com/FreshRSS/FreshRSS/pull/6680 * comma-dangle rule is already included * Use more standard filename * More flexible syntax globals * resolveIgnoresFromGitignore * Dependabog update * Relax object-shorthand * GitHub action node-version * GitHub action node-version again * object-shorthand: off * node >=18 due to dependencies
Diffstat (limited to 'package.json')
-rw-r--r--package.json18
1 files changed, 9 insertions, 9 deletions
diff --git a/package.json b/package.json
index cd62bebe0..f3c67bfa8 100644
--- a/package.json
+++ b/package.json
@@ -1,5 +1,6 @@
{
"name": "freshrss",
+ "type": "module",
"description": "A free, self-hostable aggregator",
"homepage": "https://freshrss.org/",
"readmeFilename": "README.md",
@@ -19,11 +20,11 @@
},
"license": "AGPL-3.0",
"engines": {
- "node": ">=16"
+ "node": ">=18"
},
"scripts": {
- "eslint": "eslint --ext .js .",
- "eslint_fix": "eslint --fix --ext .js .",
+ "eslint": "eslint .",
+ "eslint_fix": "eslint --fix .",
"markdownlint": "markdownlint '**/*.md'",
"markdownlint_fix": "markdownlint --fix '**/*.md'",
"rtlcss": "rtlcss -d p/themes/ && find p/themes/ -type f -name '*.rtl.rtl.css' -delete",
@@ -33,15 +34,14 @@
"fix": "npm run rtlcss && npm run stylelint_fix && npm run eslint_fix && npm run markdownlint_fix"
},
"devDependencies": {
- "eslint": "^8.57.0",
- "eslint-config-standard": "^17.1.0",
- "eslint-plugin-import": "^2.29.1",
- "eslint-plugin-n": "^16.6.2",
- "eslint-plugin-promise": "^6.1.1",
+ "eslint": "^9.8.0",
+ "@eslint/js": "^9.8.0",
+ "globals": "^15.9.0",
"markdownlint-cli": "^0.41.0",
+ "neostandard": "^0.11.2",
"rtlcss": "^4.2.0",
"sass": "^1.77.8",
- "stylelint": "^16.6.1",
+ "stylelint": "^16.8.1",
"stylelint-config-recommended-scss": "^14.1.0",
"stylelint-order": "^6.0.4",
"@stylistic/stylelint-plugin": "^3.0.0"