added linters and fixed the issues (#169)
* added the rules * fixed QuickCollapse * fixed readingtime * fixed stickyfeeds * fix const/var quick_collapse_vars I do not understand why const does not work * update version number --------- Co-authored-by: math-gh <>
This commit is contained in:
parent
9e007bd730
commit
5a1be06d01
15 changed files with 4928 additions and 129 deletions
43
package.json
Normal file
43
package.json
Normal file
|
|
@ -0,0 +1,43 @@
|
|||
{
|
||||
"name": "freshrss extensions",
|
||||
"description": "Extensions for FreshRSS",
|
||||
"homepage": "https://freshrss.org/",
|
||||
"readmeFilename": "README.md",
|
||||
"bugs": {
|
||||
"url": "https://github.com/FreshRSS/Extensions/issues"
|
||||
},
|
||||
"keywords": [
|
||||
"freshrss",
|
||||
"extensions"
|
||||
],
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/FreshRSS/Extensions.git"
|
||||
},
|
||||
"license": "see each extension",
|
||||
"engines": {
|
||||
"node": ">=12"
|
||||
},
|
||||
"scripts": {
|
||||
"eslint": "eslint --ext .js .",
|
||||
"eslint_fix": "eslint --fix --ext .js .",
|
||||
"markdownlint": "markdownlint '**/*.md'",
|
||||
"markdownlint_fix": "markdownlint --fix '**/*.md'",
|
||||
"stylelint": "stylelint '**/*.css' && stylelint --custom-syntax postcss-scss '**/*.scss'",
|
||||
"stylelint_fix": "stylelint --fix '**/*.css' && stylelint --fix --custom-syntax postcss-scss '**/*.scss'",
|
||||
"test": "npm run eslint && npm run stylelint && npm run markdownlint",
|
||||
"fix": "npm run rtlcss && npm run stylelint_fix && npm run eslint_fix && npm run markdownlint_fix"
|
||||
},
|
||||
"devDependencies": {
|
||||
"eslint": "^8.45.0",
|
||||
"eslint-config-standard": "^17.1.0",
|
||||
"eslint-plugin-import": "^2.27.5",
|
||||
"eslint-plugin-n": "^16.0.1",
|
||||
"eslint-plugin-promise": "^6.1.1",
|
||||
"markdownlint-cli": "^0.35.0",
|
||||
"sass": "^1.63.6",
|
||||
"stylelint": "^15.10.2",
|
||||
"stylelint-config-recommended-scss": "^12.0.0",
|
||||
"stylelint-order": "^6.0.3"
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue