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
Updating eslint from 3.17.1 to 3.18.0 I get the following error:
$ node_modules/.bin/eslint src/client/app/root.module.js
Syntax error in selector "angular:animation" at position 8: Expected "declaration", "expression", "function", "pattern" or "statement" but "a" found.
Error: Syntax error in selector "angular:animation" at position 8: Expected "declaration", "expression", "function", "pattern" or "statement" but "a" found.
at tryParseSelector (C:\My\Dev\argo-trading\argo\node_modules\eslint\lib\util\node-event-generator.js:163:19)
at lodash.memoize.rawSelector (C:\My\Dev\argo-trading\argo\node_modules\eslint\lib\util\node-event-generator.js:175:28)
at memoized (C:\My\Dev\argo-trading\argo\node_modules\lodash\lodash.js:10566:27)
at NodeEventGenerator.eventNames.forEach.rawSelector (C:\My\Dev\argo-trading\argo\node_modules\eslint\lib\util\node-event-generator.js:235:30)
at Array.forEach (native)
at new NodeEventGenerator (C:\My\Dev\argo-trading\argo\node_modules\eslint\lib\util\node-event-generator.js:234:20)
at EventEmitter.module.exports.api.verify (C:\My\Dev\argo-trading\argo\node_modules\eslint\lib\eslint.js:914:34)
at processText (C:\My\Dev\argo-trading\argo\node_modules\eslint\lib\cli-engine.js:264:31)
at processFile (C:\My\Dev\argo-trading\argo\node_modules\eslint\lib\cli-engine.js:303:18)
at executeOnFile (C:\My\Dev\argo-trading\argo\node_modules\eslint\lib\cli-engine.js:672:25)
It seems 3.18.0 introduce AST selectors.
I open the issue here, because, without the plugin, that message is not displayed.
The input file root.module.js:
import angular from "angular";
import { rootComponent } from "./root.component";
import { common } from "./common/common.module";
import { components } from "./components/components.module";
export const root = angular
.module("root", [
common,
components
])
.component("root", rootComponent)
.name;
Updating eslint from
3.17.1
to3.18.0
I get the following error:It seems 3.18.0 introduce AST selectors.
I open the issue here, because, without the plugin, that message is not displayed.
The input file
root.module.js
:.eslintrc.yml
The text was updated successfully, but these errors were encountered: