Migrate to ESLint 9 (#244)

* Migrate to ESLint 9
Same as https://github.com/FreshRSS/FreshRSS/pull/6685

* More flexible syntax globals

* resolveIgnoresFromGitignore

* Sync FreshRSS
This commit is contained in:
Alexandre Alapetite 2024-08-04 19:40:26 +02:00 committed by GitHub
parent 2bdabee852
commit 25b20e4453
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 1077 additions and 518 deletions

View file

@ -1,5 +1,6 @@
{
"name": "freshrss-extensions",
"type": "module",
"description": "Extensions for FreshRSS",
"homepage": "https://freshrss.org/",
"readmeFilename": "README.md",
@ -16,11 +17,11 @@
},
"license": "see each extension",
"engines": {
"node": ">=12"
"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": "npm run symbolic && rtlcss -d symbolic/ && find -L symbolic/ -type f -name '*.rtl.rtl.css' -delete",
@ -31,18 +32,17 @@
"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",
"rtlcss": "^4.1.1",
"sass": "^1.77.6",
"stylelint": "^16.6.1",
"stylelint-config-recommended-scss": "^14.0.0",
"neostandard": "^0.11.2",
"rtlcss": "^4.2.0",
"sass": "^1.77.8",
"stylelint": "^16.8.1",
"stylelint-config-recommended-scss": "^14.1.0",
"stylelint-order": "^6.0.4",
"@stylistic/stylelint-plugin": "^2.1.2"
"@stylistic/stylelint-plugin": "^3.0.0"
},
"rtlcssConfig": {}
}