You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -99,8 +99,8 @@ All contributions should be pushed in the current GIT branch.
99
99
## How to create a new rule
100
100
Here are the things you should do before sending a Pull Request with a new Rule :
101
101
102
-
* Create a JavaScript file forthe new rulein the rules directory
103
-
* Create an unit testforthis rulein the test directory
102
+
* Create a JavaScript file forthe new rulein the rules directory (the name of the file should be prefixed by 'ng'for Angular 1 rules, or 'ng2'for Angular 2 rules)
103
+
* Create an unit testforthis rulein the test directory (with the same name)
104
104
* Update the main index.js file, in order to add the new rule in the 'rules' property, and set the default configuration in the rulesConfig property
105
105
* Update the "Rules" part of the README.md file with a small description of the rule and its default configuration.
0 commit comments