Comments (3)
Just as a reference, I've managed to get the frontend linters to work from a subdirectory by defining these values into the .mega-linter.yml
configuration file:
TYPESCRIPT_STANDARD_ARGUMENTS: "--project ./frontend/tsconfig.json"
TYPESCRIPT_ES_CONFIG_FILE: ".eslintrc.cjs"
TYPESCRIPT_ES_RULES_PATH: "frontend"
TSX_ESLINT_RULES_PATH: "frontend"
Perhaps that helps in your case too (changling the frontend
into client
, etc.)
from megalinter.
The default workspace is /tmp/lint, what is the purpose of that folder and how is it being used?
The docker run
maps the repository root to the docker container folder /tmp/lint
What is the overall file location / relationship between the different parsers, where they are specifically run, and is there a way to change the default location of where they are run
JS/TS linters are run but no parser is natively called by MegaLinter
Does the docker image do anything special with the files it's trying to scan, eg copies what' s in the repo into a special folder, etc
Nope, it just runs in /tmp/lint
Please could you share your .mega-linter.yml config file, or even create a public repository with the same structure so we can investigate the issue ?
from megalinter.
This issue has been automatically marked as stale because it has not had recent activity.
It will be closed in 14 days if no further activity occurs.
Thank you for your contributions.
If you think this issue should stay open, please remove the O: stale 🤖
label or comment on the issue.
from megalinter.
Related Issues (20)
- Dependency Dashboard
- Add conftest integration HOT 2
- False negatives in v8r when validating mega-linter.yml HOT 4
- golangci-lint linter fails, as my go.mod has 1.22, but Alpine 3.19 has 1.21 HOT 4
- [Bug] Github Actions - 404 Network Errors Encountered with MegaLinter URLs HOT 3
- gherkin-linter in c_cpp flavor HOT 1
- Set env var via PRE_COMMAND HOT 4
- Making outbound network requests by default is very surprising behavior HOT 1
- Detect smallest flavour to improve performance? HOT 6
- Request new MegaLinter flavor
- Kotlin Detekt cli_lint_mode= list_of_files support HOT 2
- lightning-flow-scanner fails for salesforce flavor due to sf cli reporting update availablee HOT 2
- AzureCommentReporter.py permission issues on Azure DevOps HOT 1
- MEGALINTER_CONFIG Variable ignored Gitlab CI HOT 4
- Megalinter with CSharp Dotnet Format hangs on Mac with ARM chips HOT 1
- Request new MegaLinter flavor HOT 1
- Add wescale article in refs
- Generic Password Placeholder was found in the history of a public repository
- Template mega-linter.yml does not work on private github org which allows only actions from verified creators HOT 6
- Request new MegaLinter flavor HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from megalinter.