juice-shop
/
.eslintrc.js
44 строки · 1.0 Кб
1/*
2* Copyright (c) 2014-2024 Bjoern Kimminich & the OWASP Juice Shop contributors.
3* SPDX-License-Identifier: MIT
4*/
5
6module.exports = {7extends: 'standard-with-typescript',8env: {9browser: true,10node: true,11jasmine: true,12mocha: true,13jest: true14},15globals: {16Atomics: 'readonly',17SharedArrayBuffer: 'readonly'18},19parserOptions: {20ecmaVersion: 2018,21project: './tsconfig.json'22},23ignorePatterns: [24'.eslintrc.js',25'app/private/**',26'vagrant/**',27'frontend/**',28'data/static/codefixes/**',29'dist/**'30],31overrides: [32{33files: ['**/*.ts'],34parser: '@typescript-eslint/parser',35rules: {36'no-void': 'off', // conflicting with recommendation from @typescript-eslint/no-floating-promises37// FIXME warnings below this line need to be checked and fixed.38'@typescript-eslint/explicit-function-return-type': 'off',39'@typescript-eslint/strict-boolean-expressions': 'off',40'@typescript-eslint/no-var-requires': 'off'41}42}43]44}
45