forked from salesforce/eslint-plugin-lwc-graph-analyzer
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbase.js
More file actions
26 lines (24 loc) · 759 Bytes
/
base.js
File metadata and controls
26 lines (24 loc) · 759 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
/*
* Copyright (c) 2022, salesforce.com, 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 bundleAnalyzer = require('../processor');
module.exports = {
files: ['*.html', '**/*.html', '*.js', '**/*.js'],
processor: bundleAnalyzer,
languageOptions: {
parser: require('@babel/eslint-parser'),
parserOptions: {
ecmaVersion: 'latest',
requireConfigFile: false,
sourceType: 'module',
babelOptions: {
parserOpts: {
plugins: [['decorators', { decoratorsBeforeExport: false }]]
}
}
}
}
};