Skip to content

Commit

Permalink
Fix prettier issues
Browse files Browse the repository at this point in the history
  • Loading branch information
zoltanbedi committed Jun 18, 2024
1 parent f9fdd78 commit 46bebb0
Show file tree
Hide file tree
Showing 14 changed files with 1,037 additions and 1,109 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
name: Lint frontend

on: [push]

jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v3
with:
node-version-file: '.nvmrc'
cache: 'yarn'
- run: yarn install
- run: yarn lint
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,4 @@ docker/blocks/tempo/tempo-data
.idea
.vscode/
!.vscode/launch.json
.eslintcache
.eslintcache
6 changes: 2 additions & 4 deletions jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,5 @@ const originalConfig = require('./.config/jest.config');
module.exports = {
// Jest configuration provided by Grafana scaffolding
...originalConfig,
transformIgnorePatterns: originalConfig.transformIgnorePatterns.map((pattern) =>
pattern.startsWith('node_modules') ? `../../${pattern}` : pattern
),
};
transformIgnorePatterns: originalConfig.transformIgnorePatterns.map((pattern) => (pattern.startsWith('node_modules') ? `../../${pattern}` : pattern)),
};
Loading

0 comments on commit 46bebb0

Please sign in to comment.