juice-shop

Форк
0
/
.eslintrc.js 
28 строк · 890.0 Байт
1
/*
2
 * Copyright (c) 2014-2024 Bjoern Kimminich & the OWASP Juice Shop contributors.
3
 * SPDX-License-Identifier: MIT
4
 */
5

6
module.exports = {
7
  extends: [
8
    'standard-with-typescript'
9
  ],
10
  root: true,
11
  parserOptions: {
12
    project: './src/tsconfig.*.json',
13
    sourceType: 'module'
14
  },
15
  ignorePatterns: [
16
    '.eslintrc.js'
17
  ],
18
  rules: {
19
    '@typescript-eslint/prefer-nullish-coalescing': 'off', // requires the `strictNullChecks` compiler option
20
    // FIXME warnings below this line need to be checked and fixed.
21
    '@typescript-eslint/strict-boolean-expressions': 'off',
22
    '@typescript-eslint/consistent-type-assertions': 'off',
23
    '@typescript-eslint/no-floating-promises': 'off',
24
    '@typescript-eslint/explicit-function-return-type': 'off',
25
    '@typescript-eslint/restrict-template-expressions': 'off',
26
    '@typescript-eslint/no-confusing-void-expression': 'off'
27
  }
28
}
29

Использование cookies

Мы используем файлы cookie в соответствии с Политикой конфиденциальности и Политикой использования cookies.

Нажимая кнопку «Принимаю», Вы даете АО «СберТех» согласие на обработку Ваших персональных данных в целях совершенствования нашего веб-сайта и Сервиса GitVerse, а также повышения удобства их использования.

Запретить использование cookies Вы можете самостоятельно в настройках Вашего браузера.