Skip to content

Conversation

@hawx1993
Copy link

@hawx1993 hawx1993 commented Jun 14, 2019

Convert to TypeScript

Closes #3

@hawx1993 hawx1993 closed this Jun 14, 2019
@hawx1993 hawx1993 reopened this Jun 14, 2019
"plugin:@typescript-eslint/eslint-recommended",
"plugin:@typescript-eslint/recommended"
]
}
Copy link
Owner

@egoist egoist Jun 14, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this project uses XO which is an eslint wrapper.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

that's not what I mean, see

"xo": {

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sorry, still can't work. I set:

"xo": {
    "extends": "xo-typescript",
    "extensions": [
      "ts"
    ],
    "rules": {
      "unicorn/filename-case": "off"
    }
  },

but report: Cannot find module 'eslint-plugin-@typescript-eslint'

@egoist
Copy link
Owner

egoist commented Jun 14, 2019

please update package.json accordingly. (we need to publish compiled code on npm)

@egoist egoist mentioned this pull request Jul 3, 2019
@egoist egoist closed this Jul 3, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Convert to TypeScript

2 participants