File tree Expand file tree Collapse file tree 1 file changed +7
-10
lines changed
Expand file tree Collapse file tree 1 file changed +7
-10
lines changed Original file line number Diff line number Diff line change @@ -37,27 +37,24 @@ module.exports = defineConfig([
3737// Mobile eslint configuration file
3838export const ESLINT_CONFIG_MOBILE_FILE = 'eslint.config.mobile.js' ;
3939export const ESLINT_CONFIG_MOBILE_FILE_CONTENT = `
40- const eslintJs = require(" @eslint/js" );
40+ const eslintJs = require(' @eslint/js' );
4141const { defineConfig } = require("eslint/config");
4242const lwcMobilePlugin = require("@salesforce/eslint-plugin-lwc-mobile");
4343const lwcGraphAnalyzerPlugin = require("@salesforce/eslint-plugin-lwc-graph-analyzer");
4444
4545module.exports = defineConfig([
4646 // Salesforce LWC Mobile plugin configuration
4747 {
48- files: ["**/lwc/**/*.js"],
4948 plugins: {
50- eslintJs,
5149 "@salesforce/lwc-mobile": lwcMobilePlugin,
5250 "@salesforce/lwc-graph-analyzer": lwcGraphAnalyzerPlugin
53- },
54- extends: [
55- eslintJs.configs.recommended,
56- lwcMobilePlugin.recommendedConfigs,
57- lwcGraphAnalyzerPlugin.configs.recommended
58- ]
59- }
51+ }
52+ },
53+ eslintJs.configs.recommended,
54+ lwcGraphAnalyzerPlugin.configs.recommended,
55+ ...lwcMobilePlugin.recommendedConfigs
6056]);
57+
6158` ;
6259
6360// User eslint configuration file, contains the original eslint.config.js file content after ConfigureLintingToolsCommand's execution
You can’t perform that action at this time.
0 commit comments