-
Notifications
You must be signed in to change notification settings - Fork 139
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
AP ESLint Config #308
Comments
We may need different linting rules for core part of the stack and web components |
Somewhat different issue, in the area of code checks:
|
Yes maybe we could have a core stack config and a ui stack config? |
I'm not super versed in linter configurations, but one difference is the JavaScript style where the core stack uses CommonJS "requires" v the web components using the ES6 style. Also the standard indentation in the core stack is 4 whitespace rather than 2 in the web components (I wouldn't mind getting rid of that difference though). |
Hey, I'm Interested in this :) |
Happy to discuss this more @Aniruddha-Shriwant, I know others can also help: @DianaLease @mttrbrts |
I think we should use the @jeromesimeon as a side note, this makes me think we may want to think about having a more structured naming convention for repositories and projects. |
Hey @irmerk ,
and then we can discuss it and move on to further monorepo creation and so on... |
Hello @irmerk ,
@DianaLease & @mttrbrts , I would like to know your views and opinions on this as you were the contributors in @clausehq/eslint-config... |
Thanks @Aniruddha-Shriwant for your efforts here. @irmerk why don't we just adopt an existing lining ruleset? There are plenty to choose from and we avoid the overhead of maintaining our own. |
I'm going off the assumption that @jeromesimeon is correct in that we need two separate linters. |
Okay @irmerk , I didn't make two files before because I was waiting for your views on this file...will make other file soon :) |
@Aniruddha-Shriwant I think we'll want more input from @jeromesimeon on this before moving forward. |
Yeah sure! Waiting for your reply @jeromesimeon ๐ |
@irmerk any update on this? |
@irmerk pinging you here to discuss a little about configurations... Sample Also,
As suggested by Jerome, I had added these rules in those files...Also you may get a little information in this comment about various plugins I had added Looking forward to having your suggestions on adding some specific rules which I missed adding and then we can move on creating Accords ESlint Config repo and further npm publishing work... |
Can we take an off-the-shelf linter for each pattern? I still don't understand the motivation for creating one or more custom house styles. Each configuration might reference multiple existing configurations e.g |
hey can i get to work on this issue? |
@mustang-shr I suggest following @mttrbrts's suggestion and implement an existing linter. |
hey @irmerk can you please elaborate on the problem do I have to create an eslint.config.js file inside the project or do I have to separately create one eslint config repo which will be shared across the other projects? |
get to work on this issue? |
Feature Request ๐๏ธ
Create an AP ESLint configuration to be shared among our repositories
Use Case
We should have our own ESLint configuration to help keep code across our ecosystem consistent and approachable
Possible Solution
This should run during tests to enforce linting
Context
Use
@clausehq/eslint-config
as a starting point referenceThe text was updated successfully, but these errors were encountered: