-
Notifications
You must be signed in to change notification settings - Fork 0
IBX-10066: Change lint config to 2.0 #67
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
This file was deleted.
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -2,10 +2,16 @@ name: Frontend build | |||||
|
|
||||||
| on: | ||||||
| push: | ||||||
| paths: | ||||||
| - "**.[cm]?[jt]sx?" | ||||||
| - "**.scss" | ||||||
| branches: | ||||||
| - main | ||||||
| - '[0-9]+.[0-9]+' | ||||||
| pull_request: ~ | ||||||
| pull_request: | ||||||
| paths: | ||||||
| - "**.[cm]?[jt]sx?" | ||||||
|
||||||
| - "**.[cm]?[jt]sx?" | |
| - "**/*.[cm]?[jt]sx?" |
Copilot
AI
May 26, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The glob pattern is missing a wildcard before the filename; it should be **/*.scss to correctly match SCSS files in subdirectories.
Copilot
AI
May 26, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The glob pattern under pull_request is missing a wildcard before the filename; it should be **/*.scss.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -8,3 +8,4 @@ yarn-error.log | |
| package-lock.json | ||
| .DS_Store | ||
| /composer.lock | ||
| tsconfig.json | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,5 @@ | ||
| import getIbexaConfig from '@ibexa/eslint-config/eslint'; | ||
|
|
||
| export default [ | ||
| ...getIbexaConfig(), | ||
| ]; |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,7 @@ | ||
| { | ||
| "extends": "@ibexa/ts-config", | ||
| "include": [ | ||
| "src/bundle/**/*.ts", | ||
| "src/bundle/**/*.tsx" | ||
| ] | ||
| } |
This file was deleted.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The glob pattern is missing a wildcard before the filename; it should be
**/*.[cm]?[jt]sx?to match JS/TS(X) files in any directory.