@salesforce/eslint-config-lwc
Version:
Opinionated ESLint configurations for LWC projects
22 lines (19 loc) • 594 B
JavaScript
/*
* 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
*/
;
const tsLanguageOptions = require('./lib/typescript');
const i18n = require('./i18n');
module.exports = [
...i18n,
// The following config will take effect as explained in
// https://eslint.org/docs/latest/use/configure/configuration-files#cascading-configuration-objects
{
languageOptions: {
...tsLanguageOptions,
},
},
];