Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/build-and-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ jobs:
shell: *docs-shell
working-directory: Documentation
run: |
npm install
npm ci
npm run lint
npm run test
npm run build
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ jobs:
shell: *docs-shell
working-directory: Documentation
run: |
npm install
npm ci
npm run lint
npm run test
npm run build
Expand Down
16 changes: 0 additions & 16 deletions Documentation/.eslintrc.cjs

This file was deleted.

23 changes: 0 additions & 23 deletions Documentation/.stylelintrc.json

This file was deleted.

3 changes: 2 additions & 1 deletion Documentation/docfx.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@
]
}
],
"dest": "docs"
"dest": "docs",
"sourceLinkExclude": [ "**.g.cs" ]
}
],
"build": {
Expand Down
32 changes: 32 additions & 0 deletions Documentation/eslint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.

import {defineConfig, globalIgnores} from 'eslint/config'
import js from '@eslint/js'
import tsesLint from 'typescript-eslint'
import tsesLintParser from '@typescript-eslint/parser'
import neostandard from 'neostandard';

export default defineConfig([
js.configs.recommended,
tsesLint.configs.recommended,
...neostandard({
ts: true,
}),
{
languageOptions: {
parser: tsesLintParser,
parserOptions: {
projectService: true,
tsconfigRootDir: import.meta.dirname,
},
},
plugins: {
"@typescript-eslint": neostandard.plugins['typescript-eslint'].plugin,
},
rules: {
"@stylistic/space-before-function-paren": ["error", "never"],
},
},
globalIgnores(["**/*.js"])
])
Loading
Loading