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
When running eslint on this file it generates the following error:
Cannot read property 'kind' of null
TypeError: Cannot read property 'kind' of null
at checkDeclaration (/Users/Kevan/dev/lint-bug/node_modules/eslint-plugin-import/lib/rules/no-mutable-exports.js:10:24)
If I change the types.js file as follows, then the error goes away:
exporttypePerson={name: string}
I'm not sure if this is best solved within this project or within airbnb but just raising it here first as the error is occurring within the import plugin code.
Thanks
The text was updated successfully, but these errors were encountered:
I'm currently using airbnb lint rules plus flow typing with the following configuration:
package.json
.eslintrc
And just one file in the project:
types.js
When running eslint on this file it generates the following error:
If I change the
types.js
file as follows, then the error goes away:I'm not sure if this is best solved within this project or within airbnb but just raising it here first as the error is occurring within the import plugin code.
Thanks
The text was updated successfully, but these errors were encountered: