Skip to content

Commit

Permalink
Add names to ESLint config objects (#1768)
Browse files Browse the repository at this point in the history
  • Loading branch information
72636c authored Jan 15, 2025
1 parent 5c49b90 commit 1c9befa
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions packages/eslint-config-skuba/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ const { js: jsExtensions, ts: tsExtensions } = extensions;

module.exports = [
{
name: 'skuba/ignores',
ignores: [
// Gantry resource files support non-standard syntax (Go templating)
'**/.gantry/**/*.yaml',
Expand All @@ -28,6 +29,7 @@ module.exports = [
},
...base,
{
name: 'skuba/javascript',
rules: {
'import-x/no-duplicates': 'error',

Expand Down Expand Up @@ -95,6 +97,7 @@ module.exports = [
files: [`**/*.{${tsExtensions}}`],
})),
{
name: 'skuba/typescript',
files: [`**/*.{${tsExtensions}}`],

languageOptions: {
Expand Down Expand Up @@ -136,6 +139,7 @@ module.exports = [
},
},
{
name: 'skuba/typescript-tests',
files: [`**/*.test.{${tsExtensions}}`, `**/testing/**/*.{${tsExtensions}}`],

rules: {
Expand Down

0 comments on commit 1c9befa

Please sign in to comment.