[ACS-4837] eslint spellcheck support (#3072)

* eslint spellcheck support

* restore node memory settings for linting
This commit is contained in:
Denys Vuika
2023-03-17 05:31:23 -04:00
committed by GitHub
parent 36c5c39311
commit 86c0bbb998
13 changed files with 507 additions and 1483 deletions
+2 -4
View File
@@ -17,11 +17,9 @@
"build-libs": "ng build aca-shared && ng build adf-office-services-ext && ng build aca-about && ng build aca-viewer && ng build aca-preview && ng build aca-folder-rules && ng build aca-content",
"test": "ng test",
"test:ci": "ng test adf-office-services-ext && ng test content-ce --code-coverage",
"lint": "NODE_OPTIONS=--max_old_space_size=4096 ng lint && npm run spellcheck && npm run e2e.typecheck",
"lint": "NODE_OPTIONS=--max_old_space_size=4096 ng lint",
"update-webdriver": "./scripts/update-webdriver.sh",
"e2e.typecheck": "tsc -p ./e2e/tsconfig.e2e.typecheck.json",
"e2e": "npm run update-webdriver && protractor $SUITE",
"spellcheck": "cspell '{src,e2e,projects}/**/*.ts'",
"inspect.bundle": "ng build content-ce --configuration production --stats-json && npx webpack-bundle-analyzer dist/content-ce/stats.json",
"prepare": "husky install",
"stylelint": "stylelint \"{app,projects}/**/*.scss\""
@@ -75,6 +73,7 @@
"@angular/cli": "14.1.2",
"@angular/compiler-cli": "14.1.2",
"@angular/language-service": "14.1.2",
"@cspell/eslint-plugin": "^6.30.0",
"@playwright/test": "^1.31.2",
"@types/event-emitter": "^0.3.3",
"@types/jasmine": "~3.6.0",
@@ -86,7 +85,6 @@
"@typescript-eslint/parser": "^5.48.2",
"ajv-cli": "^4.2.0",
"commander": "^6.1.0",
"cspell": "^6.23.0",
"cypress": "^12.6.0",
"dotenv": "8.2.0",
"dotenv-expand": "^5.1.0",