-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(eslint): eslint v9 and shared configs [KHCP-11627] (#1435)
* feat(eslint): eslint v9 and shared configs [KHCP-11627] * fix: do not lint json
- Loading branch information
1 parent
cdf52e3
commit d0a973f
Showing
133 changed files
with
683 additions
and
1,238 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
import eslintKongUiConfig from '@kong/eslint-config-kong-ui' | ||
import eslintKongUiConfigCypress from '@kong/eslint-config-kong-ui/cypress' | ||
|
||
export default [ | ||
...eslintKongUiConfig, | ||
...eslintKongUiConfigCypress.map(config => ({ | ||
...config, | ||
files: [ | ||
'**/cypress/**', | ||
'**/*.cy.{js,ts,jsx,tsx}', | ||
], | ||
})), | ||
{ | ||
ignores: ['**/__template__/**'], | ||
}, | ||
{ | ||
files: [ | ||
'packages/portal/document-viewer/src/components/**/*.vue', | ||
], | ||
rules: { | ||
'vue/multi-word-component-names': ['off'], | ||
}, | ||
}, | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
packages/analytics/analytics-chart/src/enums/chart-legend-position.enum.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
/* eslint-disable no-unused-vars */ | ||
|
||
export enum ChartLegendPosition { | ||
Hidden = 'hidden', | ||
Right = 'right', | ||
|
2 changes: 1 addition & 1 deletion
2
packages/analytics/analytics-chart/src/enums/chart-metric-display.enum.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
packages/analytics/analytics-chart/src/enums/chart-types-simple.enum.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
/* eslint-disable no-unused-vars */ | ||
|
||
export enum ChartTypesSimple { | ||
GAUGE = 'Gauge', | ||
TOPN = 'TopN' | ||
TOPN = 'TopN', | ||
} |
4 changes: 2 additions & 2 deletions
4
packages/analytics/analytics-chart/src/enums/chart-types.enum.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
/* eslint-disable no-unused-vars */ | ||
|
||
export enum ChartTypes { | ||
DOUGHNUT = 'Doughnut', | ||
HORIZONTAL_BAR = 'HorizontalBar', | ||
VERTICAL_BAR = 'VerticalBar', | ||
TIMESERIES_LINE = 'Line', | ||
TIMESERIES_BAR = 'TimeSeriesBar' | ||
TIMESERIES_BAR = 'TimeSeriesBar', | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.