eslint improve

This commit is contained in:
Daniel
2021-09-26 16:34:01 +05:30
parent 844e4a6981
commit 466f34c97c
11 changed files with 188 additions and 334 deletions

View File

@@ -7,11 +7,7 @@
"main": "dist/js/adminlte.min.js",
"scripts": {
"bundlewatch": "bundlewatch --config .bundlewatch.config.json",
"css-lint": "stylelint \"src/scss/**/*.scss\" --cache --cache-location .cache/.stylelintcache",
"lockfile-lint": "lockfile-lint --allowed-hosts npm --allowed-schemes https: --empty-hostname false --type npm --path package-lock.json",
"ts:type-check": "tsc --noEmit",
"js-lint": "eslint --ext=js,ts --cache --cache-location .cache/.eslintcache --report-unused-disable-directives .",
"lint": "npm-run-all --continue-on-error --parallel css-lint js-lint ts:type-check lockfile-lint"
"lockfile-lint": "lockfile-lint --allowed-hosts npm --allowed-schemes https: --empty-hostname false --type npm --path package-lock.json"
},
"keywords": [
"css",
@@ -43,9 +39,9 @@
},
"devDependencies": {
"@rollup/plugin-typescript": "^8.2.5",
"@typescript-eslint/eslint-plugin": "^4.31.0",
"@typescript-eslint/parser": "^4.31.0",
"autoprefixer": "^10.3.4",
"@typescript-eslint/eslint-plugin": "^4.31.2",
"@typescript-eslint/parser": "^4.31.2",
"autoprefixer": "^10.3.5",
"browser-sync": "^2.27.5",
"bundlewatch": "^0.3.2",
"del": "^6.0.0",
@@ -65,11 +61,10 @@
"gulp-sass": "^5.0.0",
"gulp-stylelint": "^13.0.0",
"lockfile-lint": "^4.6.2",
"npm-run-all": "^4.1.5",
"postcss": "^8.3.6",
"rollup": "^2.56.3",
"postcss": "^8.3.8",
"rollup": "^2.57.0",
"rtlcss": "^3.3.0",
"sass": "^1.39.2",
"sass": "^1.42.1",
"stylelint": "^13.13.1",
"stylelint-config-twbs-bootstrap": "^2.2.3",
"typescript": "^4.4.3"