mirror of
https://github.com/directus/directus.git
synced 2026-04-25 03:00:53 -04:00
* Enhance eslint config
* Config with sensible settings for typescript and vue,
including comments
* Differentiate between js/ts files
* Lint .eslintrc.js itself
* Update lint-related packages
Note: This is required to solve the following error:
Error: Failed to load plugin 'prettier-vue' declared in '.eslintrc.js#overrides[1]': Cannot find module '@vue/compiler-sfc'
* Only check related files on "npm run lint:stylelint"
* Otherwise stylelint will fail (e.g. on *.d.ts files)
* Also ingore some directories
* Continue on error when linting (show output of both)
* Update package.json
Co-authored-by: Rijk van Zanten <rijkvanzanten@me.com>
2.0 KiB
2.0 KiB