Closed mindhalt closed 6 months ago
Crafty loads wrong parser for TS files, thus it completely ignore aliased paths in tsconfig.json.
paths
tsconfig.json
Correct parser is present in package.json (https://github.com/swissquote/crafty/blob/master/packages/eslint-plugin-swissquote/package.json#L36) and should be configured somewhere here: https://github.com/swissquote/crafty/blob/master/packages/eslint-plugin-swissquote/index.js But for some reason it doesn't work (probably configuration got outdated on deps version bump or something similar). When debugging, this this is undefined:
package.json
undefined
Released Released in https://github.com/swissquote/crafty/releases/tag/v1.25.0
Crafty loads wrong parser for TS files, thus it completely ignore aliased
paths
intsconfig.json
.Correct parser is present in
package.json
(https://github.com/swissquote/crafty/blob/master/packages/eslint-plugin-swissquote/package.json#L36) and should be configured somewhere here: https://github.com/swissquote/crafty/blob/master/packages/eslint-plugin-swissquote/index.js But for some reason it doesn't work (probably configuration got outdated on deps version bump or something similar). When debugging, this this isundefined
: