poetic / meteor-reacterminator

Convert annotated html and css files to a functional meteor app.
15 stars 6 forks source link

Lint fails with bootstrap #13

Closed JohnRodney closed 8 years ago

JohnRodney commented 8 years ago

Expected: The project on --create should generate a project that passes all linting.

Observed:

/Users/john/projects/meteor/fpnreboot/client/main.jsx
  2:24  error  Unable to resolve path to module 'meteor/meteor'  import/no-unresolved

✖ 1 problem (1 error, 0 warnings)

This can be prevented by adding to the .eslintrc file:

{
  "extends": "airbnb",
  "rules": {
    "import/no-unresolved": [
      2, { "ignore": ["^meteor/"] }
    ]
  }
}

This is suggested in the Meteor 1.3 guide http://guide.meteor.com/code-style.html#eslint-installing

Chun-Yang commented 8 years ago

Can we follow http://guide.meteor.com/code-style.html#eslint-installing all the way and install the linter they recommend?