We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 82984fb commit 125290aCopy full SHA for 125290a
test/factory-name.js
@@ -24,6 +24,10 @@ var invalid = [];
24
valid.push({
25
code: 'app.factory("eslintFactory", function() {});',
26
options: ['eslint']
27
+}, {
28
+ code: 'app.factory("eslintFactory", EslintFactory); class EslintFactory {}',
29
+ options: ['eslint'],
30
+ parserOptions: {ecmaVersion: 6}
31
}, {
32
33
options: [/^eslint/]
0 commit comments