MOBILE-4081 eslint: Add jsdoc recommendations
parent
8818dde723
commit
cc691f4b93
|
@ -17,6 +17,7 @@ const appConfig = {
|
||||||
'prettier',
|
'prettier',
|
||||||
'plugin:@angular-eslint/recommended',
|
'plugin:@angular-eslint/recommended',
|
||||||
'plugin:promise/recommended',
|
'plugin:promise/recommended',
|
||||||
|
'plugin:jsdoc/recommended',
|
||||||
],
|
],
|
||||||
parser: '@typescript-eslint/parser',
|
parser: '@typescript-eslint/parser',
|
||||||
parserOptions: {
|
parserOptions: {
|
||||||
|
@ -199,6 +200,10 @@ const appConfig = {
|
||||||
'id-match': 'error',
|
'id-match': 'error',
|
||||||
'jsdoc/check-alignment': 'error',
|
'jsdoc/check-alignment': 'error',
|
||||||
'jsdoc/newline-after-description': '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': [
|
'linebreak-style': [
|
||||||
'error',
|
'error',
|
||||||
'unix',
|
'unix',
|
||||||
|
|
|
@ -33,7 +33,7 @@
|
||||||
"test:ci": "NODE_ENV=testing gulp && jest -ci --runInBand --verbose",
|
"test:ci": "NODE_ENV=testing gulp && jest -ci --runInBand --verbose",
|
||||||
"test:watch": "NODE_ENV=testing gulp watch & jest --watch",
|
"test:watch": "NODE_ENV=testing gulp watch & jest --watch",
|
||||||
"test:coverage": "NODE_ENV=testing gulp && jest --coverage",
|
"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:before": "gulp",
|
||||||
"ionic:serve": "cross-env-shell ./scripts/serve.sh",
|
"ionic:serve": "cross-env-shell ./scripts/serve.sh",
|
||||||
"ionic:build:before": "gulp",
|
"ionic:build:before": "gulp",
|
||||||
|
|
Loading…
Reference in New Issue