Comments (16)
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.
Thanks for the quick reply.
Your plugin is AngularJS Nirvana. :)
from eslint-plugin-angular.
Thanks a lot.
If you want to collaborate, do not hesitate to send Pull Request ;)
from eslint-plugin-angular.
- 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.
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.
Great! Go ahead.
I have been using the plugin to lint Argo: https://github.com/albertosantini/argo
from eslint-plugin-angular.
I have created all tickets for all these new features.
Feel free to send Pull request ;)
from eslint-plugin-angular.
Are these implemented yet or just issues created?
from eslint-plugin-angular.
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.
is it ready to test? id like to show it if its ready
from eslint-plugin-angular.
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.
i couldnt get it working. let me know when its closer. this is a great idea.
from eslint-plugin-angular.
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.
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.
Indeed see #57
from eslint-plugin-angular.
See the issues I am having here #57
from eslint-plugin-angular.
Related Issues (20)
- angular/file-name rule: there is a way to ignore all prefixes except the last one on module filename? HOT 2
- TypeError: Cannot read property 'forEach' of undefined (no-directive-replace) HOT 3
- Version 10 of node.js has been released
- Better deprecation warning for editor integration HOT 1
- function-type on a string constant HOT 3
- Definition for rule 'angular/prefer-component' was not found
- broken scope type when I use .new as a property name HOT 3
- Rules `no-services` and `di-order` don't work in AngularJS components HOT 3
- Error: Failed to load config "plugin:angular/recommended" to extend from.
- Eslint v5 support
- typecheck-number to general HOT 3
- di-order rule not working ! HOT 1
- Connected to Git-Webhooks!
- fix: test webhook HOT 1
- Connected to Git-Webhooks!
- question: controller-as-vm options HOT 1
- Which versions on Angular does this support? HOT 1
- module-getter rule false positive HOT 2
- Unused parameter flags entire function HOT 1
- Support for removing unused dependencies in constructor dependency injection
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-plugin-angular.