UNPKG

@salesforce/eslint-config-lwc

Version:

Opinionated ESLint configurations for LWC projects

22 lines (19 loc) 615 B
/* * Copyright (c) 2024, Salesforce, Inc. * All rights reserved. * SPDX-License-Identifier: MIT * For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT */ 'use strict'; const tsLanguageOptions = require('./lib/typescript'); const recommended = require('./recommended'); module.exports = [ ...recommended, // The following config will take effect as explained in // https://eslint.org/docs/latest/use/configure/configuration-files#cascading-configuration-objects { languageOptions: { ...tsLanguageOptions, }, }, ];