Comments (12)
I see, but we can still use script to generate them, and modify if nessary.
from eslint-define-config.
Okay, I'll try, going to sleep now.
from eslint-define-config.
can we add support for
eslint-plugin-unicorn
Sure! It is highly extendable 🙂
There is already support for e.g. jsdoc and other stuff.
Do you want to try it and open a PR?
Will grant you write access so you don't need to fork
There is also a script to generate a rule
from eslint-define-config.
Do you want to try it and open a PR?
Sorry, but I don't use ts at all.
from eslint-define-config.
Sorry, but I don't use ts at all.
I will not hurt you 😏
Or will it? 👀
Could you write your top 10 most used rules of eslint-plugin-unicorn
?
Then I could add these.
The generation is not that automated 🙁 So I need to hand-write every rule on its own...
That's why I mostly support first the rules that are common used.
from eslint-define-config.
I had a quick look on the script, you're hard coding the docs links, why not load the rule, links exists in their meta.
Can these options generated from the schema?(Just an idea.)
from eslint-define-config.
I had a quick look on the script, you're hard coding the docs links, why not load the rule, links exists in their meta.
Can these options generated from the schema?(Just an idea.)
Every plugin has a different kind of structure and generating them automatically would not result in such good types than with handcrafted types and JSDoc.
from eslint-define-config.
Every plugin has a different kind of structure
Can you explain?
from eslint-define-config.
In example https://github.com/aotaduy/eslint-plugin-spellcheck/blob/master/rules/spell-checker.js doesn't have a link to the docs I manually added
this was copied from the docs
https://github.com/aotaduy/eslint-plugin-spellcheck#configuration-options
from eslint-define-config.
Please feel free to create a draft. And feel free to do that in plain js for now.
If it works I can convert it to ts later on.
Just create a branch/PR and feel free to escalate 😄
from eslint-define-config.
Okay, I'll try, going to sleep now.
Added you on Discord 👀
from eslint-define-config.
Finally I found some free time to work on an automation to generate the rules
I added support for your requested plugin 🎉
Will be released in 1.1.0
from eslint-define-config.
Related Issues (20)
- Manually fix known ESLint schema mistakes HOT 2
- `parserOptions.project` is missing the `true` value
- Many rule allow unwanted additionalProperties HOT 11
- Overly restrictive `engines.pnpm` causes errors HOT 7
- Can't import types HOT 7
- Comparison with JSDocs
- LanguageOptions.parser is not accepting objects
- Add eslint-plugin-yml HOT 1
- Predefined string configurations in flat config seem to be deprecated HOT 3
- Support augmented global properties HOT 4
- Types are not correct for native ESM modules and cannot be imported there HOT 3
- Missing build files HOT 2
- v1.24.1 prevents installing on node 16 HOT 3
- suggestion: Move config types to DefinitelyTyped/eslint HOT 8
- Avoid shipping src
- Deep freeze flat config in `defineFlatConfig` HOT 2
- CJS type declarations are not created HOT 2
- Should I use triple slash reference when using @eslint-types/typescript-eslint or something else?
- FlatESLintConfig does not support custom plugins HOT 2
- Converting from old eslint config to flat config gives error 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 eslint-define-config.