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

feat(eslint-plugin): top-level-function #327

Closed
zanminkian opened this issue Dec 25, 2024 · 1 comment
Closed

feat(eslint-plugin): top-level-function #327

zanminkian opened this issue Dec 25, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@zanminkian
Copy link
Owner

const foo = {
  bar: function() {}
}

class Foo {
  bar = function() {}
}

setTimeout(function(){}, 1000)

if(foo){
  function bar() {}
}

function foo() {
  function bar(){}
}
@zanminkian zanminkian added the enhancement New feature or request label Dec 25, 2024
@zanminkian zanminkian changed the title feat(eslint-plugin): top-level-functions feat(eslint-plugin): top-level-function Jan 3, 2025
@zanminkian
Copy link
Owner Author

d0e9357

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant