Comments (4)
I'm gonna try and take a hit on this! Lets see how it goes
from biome.
This week im back at actively trying this 🤞
from biome.
Update: Currently getting used to it. @Conaclos has pointed me to some good example rules that I could use as reference but this weekend I don't have much time to keep trying. From Wednesday next week ill get a lot more time to try implementing this
Resources
conaclos — 08/30/2023 10:31 PM
You can take a look to an existing rule: https://github.com/biomejs/biome/blob/main/crates/rome_js_analyze/src/analyzers/suspicious/no_duplicate_class_members.rs#L101
conaclos — 08/30/2023 10:31 PM
There is no specific method is_static.
You have to traverse the modifiers of a member and look for the static modifier
Another example: https://github.com/biomejs/biome/blob/main/crates/rome_js_analyze/src/semantic_analyzers/nursery/use_naming_convention.rs#L677
conaclos — 08/30/2023 10:38 PM
You shoudl also take a look at no_setter_return.rs. This could help you 🙂
from biome.
Been making amazing progress here, check the PR #366
from biome.
Related Issues (20)
- useImportExtensions should use .js extension for TypeScript imports HOT 33
- 📎 Implement `useErrorMessage` - `unicorn/error-message`
- 💅 linter does not detect vue-bound attributes HOT 2
- `noUndeclaredVariables` erroring on self-referential TypeScript enums HOT 1
- `noUndeclaredVariables` not properly handling `type` import HOT 1
- 🐛 Biome language server crashes on invalid biome.json
- 📎 Non distinct architecture specific package names HOT 2
- values-variables
- 📎 Support `{a,b}` glob pattern syntax for includes/excludes HOT 6
- 🐛 biome breaks characters in stdin mode HOT 2
- 🐛 Buggy side-effect caused by previous fix that made `biome.json(c)` un-ignore-able HOT 3
- add `composes` for noUnknownProperty.
- Implement a lint rule to highlight the deprecated `@value` at-rule. HOT 5
- 💅 False positive for `lint/suspicious/noEmptyBlockStatements` with constructor HOT 1
- add `:local` and `:global` pseudo class.
- 🐛 <TITLE> CSS Formatter makes lowercase identifiers for composes in CSS Modules.
- 💅 `useJsxKeyInIterable` shows warning even key is specified HOT 3
- Website biomejs.dev is down and causing VSCode integration to be unusable. HOT 7
- noConfusingVoidType errors on optional disposer returns HOT 1
- 🐛 `biome init` creates `biome.json` even if `biome.jsonc` already exists
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 biome.