Skip to content

Commit 6b9a66c

Browse files
committed
generate doc after PR #388
1 parent ab26de1 commit 6b9a66c

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

docs/file-name.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,9 @@ The following patterns are **not** considered problems with default config;
3737
// valid with filename: src/app/awesomeModule/beautifulDirective.js
3838
app.directive('beautifulDirective', function() {});
3939

40+
// valid with filename: src/app/awesomeModule/beautifulComponent.js
41+
app.component('beautifulComponent', {});
42+
4043
The following patterns are considered problems when configured `{"typeSeparator":"dot"}`:
4144

4245
/*eslint angular/file-name: [2,{"typeSeparator":"dot"}]*/
@@ -110,6 +113,16 @@ The following patterns are **not** considered problems when configured `{"typeSe
110113
// valid with filename: src/app/userUtils.service.js
111114
angular.factory('uiUserUtils', uiUserUtils)
112115

116+
The following patterns are **not** considered problems when configured `{"typeSeparator":"dot","ignorePrefix":"ui."}`:
117+
118+
/*eslint angular/file-name: [2,{"typeSeparator":"dot","ignorePrefix":"ui."}]*/
119+
120+
// valid with filename: src/app/userUtils.service.js
121+
angular.factory('ui.UserUtils', uiUserUtils)
122+
123+
// valid with filename: src/app/utils.module.js
124+
angular.module('ui.utils', function(){})
125+
113126
## Version
114127

115128
This rule was introduced in eslint-plugin-angular 0.7.0

0 commit comments

Comments
 (0)