Skip to content

Commit

Permalink
add meta node for lwc-mobile plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
ben-zhang-at-salesforce committed May 14, 2024
1 parent b47dbbc commit 8ab7f2f
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
6 changes: 5 additions & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,16 @@ import type { Linter } from '@typescript-eslint/utils/ts-eslint';
import base from './configs/base.js';
import recommended from './configs/recommended.js';
import enforceFooBar from './rules/enforce-foo-bar.js';

import { name, version } from '../package.json';
export = {
configs: {
base,
recommended
},
meta: {
name,
version
},
rules: {
'enforce-foo-bar': enforceFooBar
}
Expand Down
3 changes: 2 additions & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,13 @@
"rootDir": "./src",
"outDir": "dist" /* Specify an output folder for all emitted files. */,
"esModuleInterop": true /* Emit additional JavaScript to ease support for importing CommonJS modules. This enables 'allowSyntheticDefaultImports' for type compatibility. */,
"resolveJsonModule": true,
"forceConsistentCasingInFileNames": true /* Ensure that casing is correct in imports. */,
"strict": true /* Enable all strict type-checking options. */,
"noUnusedLocals": true /* Enable error reporting when local variables aren't read. */,
"noUnusedParameters": true /* Raise an error when a function parameter isn't read. */,
"noImplicitReturns": true /* Enable error reporting for codepaths that do not explicitly return in a function. */,
"skipLibCheck": true /* Skip type checking all .d.ts files. */
},
"include": ["src/**/*"]
"include": ["src/**/*", "./package.json"]
}

0 comments on commit 8ab7f2f

Please sign in to comment.