/* * Copyright (C) 2019 Intel Corporation * SPDX-License-Identifier: MIT */ module.exports = { 'env': { 'node': true, 'browser': true, 'es6': true, }, 'parserOptions': { 'parser': '@typescript-eslint/parser', 'ecmaVersion': 6, }, 'plugins': [ '@typescript-eslint', 'import', ], 'extends': [ 'plugin:@typescript-eslint/recommended', 'airbnb-typescript/base', 'plugin:import/errors', 'plugin:import/warnings', 'plugin:import/typescript', ], 'rules': { '@typescript-eslint/indent': ['warn', 4], '@typescript-eslint/no-explicit-any': [0], 'no-restricted-syntax': [0, {'selector': 'ForOfStatement'}], }, 'settings': { 'import/resolver': { 'node': { 'extensions': ['.tsx', '.ts', '.jsx', '.js', '.json'], }, }, }, };