microsoft/hve-core

Public

mirrored from https://github.com/microsoft/hve-coreAvailable

CodeCommitsIssuesPull requestsActionsInsightsSecurity
ci/2086-enforce-powershell-coverage

Branches

Tags

  • No tags available.
0Branches0Tags
Go to file
Add file
Code

Clone

HTTPS

Download ZIP

docs/docusaurus/eslint.config.mjs

28lines · modecode

1import jsxA11y from 'eslint-plugin-jsx-a11y';
2import tsParser from '@typescript-eslint/parser';
3
4export default [
5 {
6 ignores: ['build/**', '.docusaurus/**', 'coverage/**', 'static/**'],
7 },
8 {
9 files: ['src/**/*.{ts,tsx,js,jsx}'],
10 ...jsxA11y.flatConfigs.recommended,
11 languageOptions: {
12 ...jsxA11y.flatConfigs.recommended.languageOptions,
13 parser: tsParser,
14 parserOptions: {
15 ecmaFeatures: { jsx: true },
16 },
17 },
18 },
19 {
20 files: ['e2e/**/*.{ts,tsx}', '*.config.{ts,js,mjs}', 'sidebars.js'],
21 languageOptions: {
22 parser: tsParser,
23 parserOptions: {
24 ecmaFeatures: { jsx: true },
25 },
26 },
27 },
28];
29