Skip to content

Commit

Permalink
chore(internal): update eslint config (#17)
Browse files Browse the repository at this point in the history
  • Loading branch information
stainless-app[bot] committed Feb 14, 2025
1 parent a0b504c commit c41e942
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion eslint.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ export default tseslint.config(
parserOptions: { sourceType: 'module' },
},
files: ['**/*.ts', '**/*.mts', '**/*.cts', '**/*.js', '**/*.mjs', '**/*.cjs'],
ignores: ['dist/**'],
plugins: {
'@typescript-eslint': tseslint.plugin,
'unused-imports': unusedImports,
Expand All @@ -24,7 +25,7 @@ export default tseslint.config(
{
patterns: [
{
group: ['lightswitch-api', 'lightswitch-api/*'],
regex: '^lightswitch-api(/.*)?',
message: 'Use a relative import, not a package import.',
},
],
Expand Down

0 comments on commit c41e942

Please sign in to comment.