-
- Downloads
chore: switch to eslint-plugin-drupal-contrib
eslint-config-drupal has some pain points (mostly due to React support which we don't need) and no updates since Fall 2020. Other notable changes: - Bring over the .prettierrc.json from core - Use ignores rather than only linting js/ckeditor5_plugins References: #3458367
parent
75048a9c
No related branches found
No related tags found
Showing
- .eslintignore 1 addition, 0 deletions.eslintignore
- .eslintrc.json 1 addition, 3 deletions.eslintrc.json
- .prettierignore 1 addition, 0 deletions.prettierignore
- .prettierrc.json 16 additions, 0 deletions.prettierrc.json
- package.json 5 additions, 3 deletionspackage.json
- yarn.lock 843 additions, 954 deletionsyarn.lock
.eslintignore
0 → 100644
.prettierignore
0 → 100644
.prettierrc.json
0 → 100644
... | ... | @@ -7,8 +7,8 @@ |
"scripts": { | ||
"watch": "webpack --mode development --watch", | ||
"build": "webpack", | ||
"lint": "eslint js/ckeditor5_plugins/**/*.js", | ||
"fix": "prettier --write js/ckeditor5_plugins/**/*.js", | ||
"lint": "eslint .", | ||
"fix": "eslint . --fix", | ||
"changelog": "yarn conventional-changelog --preset conventionalcommits --release-count 2 | tail -n +2 | sed 's#https://git.drupal.org/project/ckeditor5_paste_filter/issues/#https://www.drupal.org/project/ckeditor5_paste_filter/issues/#g' | markdown-it", | ||
"bump": "yarn version --new-version $(conventional-recommended-bump --preset conventionalcommits)", | ||
"bump-unstable": "yarn version --new-version" | ||
... | ... | @@ -17,8 +17,10 @@ |
"@ckeditor/ckeditor5-dev-utils": "^30.0.0", | ||
"conventional-changelog-cli": "^4.1.0", | ||
"conventional-recommended-bump": "^9.0.0", | ||
"eslint-config-drupal": "^5.0.2", | ||
"eslint": "8", | ||
"eslint-plugin-drupal-contrib": "^2.0.3", | ||
"markdown-it": "^14.1.0", | ||
"prettier": "3", | ||
"raw-loader": "^4.0.2", | ||
"terser-webpack-plugin": "^5.2.0", | ||
"webpack": "^5.51.1", | ||
... | ... |
This diff is collapsed.
Please register or sign in to comment