Skip to content

Commit 16f5199

Browse files
committed
ignore tailwind config in eslint
1 parent 190ce94 commit 16f5199

File tree

3 files changed

+3
-33
lines changed

3 files changed

+3
-33
lines changed

.github/workflows/preview-build.yml

Lines changed: 1 addition & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -178,39 +178,8 @@ jobs:
178178
esac
179179
180180
- name: Bootstrap Action Workspace
181-
if: |
182-
'1' == '0' && env.MATCH == 'true' && (github.repository == 'elastic/docs-builder' && steps.deployment.outputs.result)
183-
uses: elastic/docs-builder/.github/actions/bootstrap@main
184-
185-
## BEGIN TEMPORARY USE THIS AND REVERT BACK TO OUR BOOTSTRAP ACTION ONCE THIS IS MERGED
186-
- shell: bash
187181
if: env.MATCH == 'true' && (github.repository == 'elastic/docs-builder' && steps.deployment.outputs.result)
188-
run: |
189-
git fetch --prune --unshallow --tags
190-
git tag --list
191-
- uses: actions/setup-dotnet@v4
192-
if: env.MATCH == 'true' && (github.repository == 'elastic/docs-builder' && steps.deployment.outputs.result)
193-
with:
194-
global-json-file: global.json
195-
196-
- id: dotnet
197-
if: env.MATCH == 'true' && (github.repository == 'elastic/docs-builder' && steps.deployment.outputs.result)
198-
shell: bash
199-
run: |
200-
dotnet tool restore
201-
REPO_VERSION=$(dotnet minver -t=v -p=canary.0 -v=e -m=0.1)
202-
echo "Version Number: ${REPO_VERSION}"
203-
echo "REPO_VERSION=${REPO_VERSION}" >> $GITHUB_ENV
204-
echo "full-version=${REPO_VERSION}" >> $GITHUB_OUTPUT
205-
echo "major-version=$(echo ${REPO_VERSION} | cut -d"." -f1)" >> $GITHUB_OUTPUT
206-
207-
- uses: actions/setup-node@v4
208-
if: env.MATCH == 'true' && (github.repository == 'elastic/docs-builder' && steps.deployment.outputs.result)
209-
with:
210-
cache: npm
211-
cache-dependency-path: src/Elastic.Documentation.Site/package-lock.json
212-
node-version-file: .nvmrc
213-
## END TEMPORARY USE THIS AND REVERT BACK TO OUR BOOTSTRAP ACTION ONCE THIS IS MERGED
182+
uses: elastic/docs-builder/.github/actions/bootstrap@main
214183

215184
# we run our artifact directly, please use the prebuild
216185
# elastic/docs-builder@main GitHub Action for all other repositories!

src/Elastic.ApiExplorer/Class1.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,7 @@ public static LandingNavigationItem CreateNavigation(OpenApiDocument openApiDocu
7676

7777
foreach (var path in openApiDocument.Paths)
7878
{
79+
path.Value.Extensions
7980
var endpointUrl = $"{url}/{path.Key.Trim('/').Replace('/', '-').Replace("{", "").Replace("}", "")}";
8081
var apiEndpoint = new ApiEndpoint(endpointUrl, path.Key, path.Value, rootNavigation);
8182
var endpointNavigationItem = new EndpointNavigationItem(1, apiEndpoint, rootNavigation, rootNavigation);

src/Elastic.Documentation.Site/eslint.config.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import globals from 'globals'
44
import tseslint from 'typescript-eslint'
55

66
export default defineConfig([
7-
globalIgnores(['_static/main.js']),
7+
globalIgnores(['_static/main.js', 'tailwind.config.js']),
88
{ files: ['**/*.{js,mjs,cjs,ts}'] },
99
{
1010
files: ['**/*.{js,mjs,cjs,ts}'],

0 commit comments

Comments
 (0)