MOBILE-4081 eslint: Add jsdoc recommendations
parent
8818dde723
commit
cc691f4b93
|
@ -17,6 +17,7 @@ const appConfig = {
|
|||
'prettier',
|
||||
'plugin:@angular-eslint/recommended',
|
||||
'plugin:promise/recommended',
|
||||
'plugin:jsdoc/recommended',
|
||||
],
|
||||
parser: '@typescript-eslint/parser',
|
||||
parserOptions: {
|
||||
|
@ -199,6 +200,10 @@ const appConfig = {
|
|||
'id-match': 'error',
|
||||
'jsdoc/check-alignment': 'error',
|
||||
'jsdoc/newline-after-description': 'error',
|
||||
'jsdoc/require-param-type': 'off',
|
||||
'jsdoc/require-returns-type': 'off',
|
||||
'jsdoc/require-param': 'off',
|
||||
'jsdoc/check-values': 'off',
|
||||
'linebreak-style': [
|
||||
'error',
|
||||
'unix',
|
||||
|
|
|
@ -33,7 +33,7 @@
|
|||
"test:ci": "NODE_ENV=testing gulp && jest -ci --runInBand --verbose",
|
||||
"test:watch": "NODE_ENV=testing gulp watch & jest --watch",
|
||||
"test:coverage": "NODE_ENV=testing gulp && jest --coverage",
|
||||
"lint": "NODE_OPTIONS=--max-old-space-size=4096 ng lint",
|
||||
"lint": "NODE_OPTIONS=--max-old-space-size=8192 ng lint",
|
||||
"ionic:serve:before": "gulp",
|
||||
"ionic:serve": "cross-env-shell ./scripts/serve.sh",
|
||||
"ionic:build:before": "gulp",
|
||||
|
|
Loading…
Reference in New Issue