Skip to content
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

Accepting configuration via package.json #245

Open
scripthunter7 opened this issue Feb 20, 2025 · 0 comments
Open

Accepting configuration via package.json #245

scripthunter7 opened this issue Feb 20, 2025 · 0 comments
Assignees
Labels
enhancement New feature or request Priority: P4 T: Config Configuration related

Comments

@scripthunter7
Copy link
Member

Many libraries (for example, lint-staged) allow configurations to be read directly from package.json without requiring a separate configuration file.

For some users, this behavior is more convenient as it helps keep their project structure more organized: while package.json is always required, additional configuration files can be avoided.

Therefore, I propose adding similar functionality to AGLint. Essentially, we would read the value under the "aglint" field in package.json the same way we read it from aglintrc.json.

@scripthunter7 scripthunter7 added enhancement New feature or request T: Config Configuration related labels Feb 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request Priority: P4 T: Config Configuration related
Projects
None yet
Development

No branches or pull requests

3 participants