GithubHelp home page GithubHelp logo

Comments (16)

EmmanuelDemey avatar EmmanuelDemey commented on May 30, 2024

Hi Albert,

Will have a look to this well-known guideline. I think some of these BP are already implemented. But will let you know soon about the roadmap.

Manu

from eslint-plugin-angular.

albertosantini avatar albertosantini commented on May 30, 2024

Thanks for the quick reply.
Your plugin is AngularJS Nirvana. :)

from eslint-plugin-angular.

EmmanuelDemey avatar EmmanuelDemey commented on May 30, 2024

Thanks a lot.
If you want to collaborate, do not hesitate to send Pull Request ;)

from eslint-plugin-angular.

EmmanuelDemey avatar EmmanuelDemey commented on May 30, 2024
  • Define 1 component per page (Y001) -> eslint-plugin-angular 0.0.5 (Difficulty: 1/5)
  • JavaScript Closures IIFE (Y010) -> should be implemented in ESLint
  • Definitions (aka Setters) (Y021) -> eslint-plugin-angular 0.0.5 (Difficulty: 1/5)
  • Getters (Y022) -> eslint-plugin-angular 0.0.5 (Difficulty: 1/5)
  • Named vs Anonymous Functions (Y024) -> eslint-plugin-angular 0.0.5 (Difficulty: 2/5)
  • controllerAs Controller Syntax (Y031) -> eslint-plugin-angular 0.0.5 (Difficulty: 1/5)
  • controllerAs with vm (Y032) -> eslint-plugin-angular 0.0.5 (Difficulty: 1/5)
  • Bindable Membert Up Top (Y033) -> eslint-plugin-angular 0.0.6 (Difficulty 5/5)
  • Function Declarations to Hide Implementation Details (Y034) -> eslint-plugin-angular 0.0.6 (Difficulty 5/5)
  • Defer Controller Logic (Y035) -> eslint-plugin-angular 0.0.4. Need to add $q to the list.
  • Keep Controllers Focused (Y037) -> eslint-plugin-angular 0.0.6 (Difficulty: 4/5)
  • Assigning Controllers (Y038) -> eslint-plpugin-angular 0.0.6 (Difficulty: 5/5)
  • Singletons (Y040) -> eslint-plugin-angular 0.0.5 (Difficulty 1/5)
  • Accessible Members Up Top (Y052) -> eslint-plugin-angular 0.0.6 (Difficulty: 5/5)
  • Function Declarations to Hide Implementation Details (Y053) -> eslint-plugin-angular 0.0.6 (Difficulty 5/5)
  • Return a promise from Data Calls (Y061) -> Impossible
  • Directives - Limit 1 Per File (Y070) -> eslint-plugin-angular 0.0.5 (Difficulty: 1/5)
  • Manipulate DOM in a Directive (Y072) -> eslint-plugin-angular 0.0.6 (Difficulty: 3/5)
  • Provide a Unique Directive Prefix (Y073) -> eslint-plugin-angular 0.0.4
  • Restrict to Elements and Attributes (Y074) -> eslint-plugin-angular 0.0.5 (Difficulty: 2/5)
  • Directives and ControllerAs (Y075) -> eslint-plugin-angular 0.0.5 (Difficulty: 2/5)
  • Controller Activation Prommises (Y080) -> eslint-plugin-angular 0.0.5 (Difficulty 3/5)
  • Route Resolve Promises (Y081) -> eslint-plugin-angular 0.0.5 (Difficulty: 3/5)
  • Manually Identify Dependencies (Y091) -> eslint-plugin-angular 0.0.5 (Difficulty; 4/5)
  • Route Errors (Y112) -> eslint-plugin-angular 0.0.6 (Difficulty: 2/5)
  • Naming Guidelines (Y120) and Feature File Names (Y121) -> eslint-plugin-angular 0.0.6 (Difficulty: 4/5)
  • Test File Names (Y122) -> eslint-plugin-angular 0.0.7 (Difficulty: 4/5)
  • Controller Names (Y123) -> eslint-plugin-angular 0.0.4
  • Controller Name Suffix (Y124) -> eslint-plugin-angular 0.0.4
  • Factory Names (Y125) -> eslint-plugin-angular 0.0.4
  • Directive Component Names (Y126) -> eslint-plugin-angular 0.0.4
  • Modules (Y127) -> eslint-plugin-angular 0.0.4
  • Configuration (Y128) -> eslint-plugin-angular 0.0.7 (Difficulty: 3/5)
  • Routes(Y129) -> eslint-plugin-angular 0.0.7 (Difficulty: 3/5)
  • Run Blocks (Y171) -> eslint-plugin-angular 0.0.7 (Difficulty: 2/5)
  • $document and $window (Y180) -> eslint-plugin-angular 0.0.4
  • $timeout and $interval (Y181) -> eslint-plugin-angular 0.0.4
  • Routing - User AngularUI Router (Y280) -> eslint-plugin-angular 0.0.4 (Difficulty: 2/5)

from eslint-plugin-angular.

EmmanuelDemey avatar EmmanuelDemey commented on May 30, 2024

Hi,

Here is my roadmap. Any remarks are welcomed ;)

If everything is OK for you, I will deploy the release 0.0.4, create an issue for all of these items, and start working on them.

from eslint-plugin-angular.

albertosantini avatar albertosantini commented on May 30, 2024

Great! Go ahead.
I have been using the plugin to lint Argo: https://github.com/albertosantini/argo

from eslint-plugin-angular.

EmmanuelDemey avatar EmmanuelDemey commented on May 30, 2024

I have created all tickets for all these new features.
Feel free to send Pull request ;)

from eslint-plugin-angular.

johnpapa avatar johnpapa commented on May 30, 2024

Are these implemented yet or just issues created?

from eslint-plugin-angular.

EmmanuelDemey avatar EmmanuelDemey commented on May 30, 2024

Some of them have already been implemented. Need to add a link to your awesome guideline.
But a huge list of best practice need to be implemented ;) Will do it soon.

from eslint-plugin-angular.

johnpapa avatar johnpapa commented on May 30, 2024

is it ready to test? id like to show it if its ready

from eslint-plugin-angular.

EmmanuelDemey avatar EmmanuelDemey commented on May 30, 2024

You can maybe have a look to these rules :

  • ng_controller_name
  • ng_directive_name
  • ng_filter_name
  • ng_interval_service
  • ng_module_name
  • ng_no_services
  • ng_service_name
  • ng_timeout_service
  • ng_window_service

from eslint-plugin-angular.

johnpapa avatar johnpapa commented on May 30, 2024

i couldnt get it working. let me know when its closer. this is a great idea.

from eslint-plugin-angular.

EmmanuelDemey avatar EmmanuelDemey commented on May 30, 2024

Which error do you have ? Albert an I used it for personnal project.

Maybe you use the 0.0.3 release, because the 0.0.4 has not been deployed it. Maybe you can install via the Github URL ?

I will deploy the release 0.0.4 today or tomorrow.

from eslint-plugin-angular.

johnpapa avatar johnpapa commented on May 30, 2024

I did it from github. For errors about some of the rules not being found.

There were some spelling mistakes. I fixed some but ran into other others about rules not being found.

John

On Mar 4, 2015, at 12:16 AM, Emmanuel DEMEY [email protected] wrote:

Which error do you have ? Albert an I used it for personnal project.

Maybe you use the 0.0.3 release, because the 0.0.4 has not been deployed it. Maybe you can install via the Github URL ?

I will deploy the release 0.0.4 today or tomorrow.


Reply to this email directly or view it on GitHub.

from eslint-plugin-angular.

albertosantini avatar albertosantini commented on May 30, 2024

Indeed see #57

from eslint-plugin-angular.

johnpapa avatar johnpapa commented on May 30, 2024

See the issues I am having here #57

from eslint-plugin-angular.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.