Skip to content

Show the same error on Windows and Mac #879

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
koraniar opened this issue Apr 17, 2019 · 2 comments · Fixed by #1332
Closed

Show the same error on Windows and Mac #879

koraniar opened this issue Apr 17, 2019 · 2 comments · Fixed by #1332

Comments

@koraniar
Copy link

Tell us about your environment

  • ESLint version: 5.14.1
  • eslint-plugin-vue version: 5.2.2
  • Node version: 10.15.3

Please show your full configuration:

// https://eslint.org/docs/user-guide/configuring

module.exports = {
  root: true,
  parserOptions: {
    ecmaVersion: 2018,  
    sourceType: 'module',
    parser: 'babel-eslint'
  },
  env: {
    browser: true,
    es6: true,
  },
  extends: [
    'airbnb-base',
    'plugin:vue/recommended', 
  ],
  // required to lint *.vue files
  plugins: [
    'vue'
  ],
  // add your custom rules here
  rules: {
    // allow async-await
    'generator-star-spacing': 'off',
    // allow debugger during development
    'no-debugger': process.env.NODE_ENV === 'production' ? 'error' : 'off',
    'linebreak-style': 0
  },
  globals: {
    Atomics: 'readonly',
    SharedArrayBuffer: 'readonly',
  },
}

What did you do?

{{ locationSelected
                  ? locationSelected.updatedOn : '' |moment('MM/DD/YYYY hh:mm a') }}

What did you expect to happen?
Show the same error or success on Mac and Windows

What actually happened?

On Windows it shows
118:81 warning Multiple spaces found before '}}' vue/no-multi-spaces
But in Mac it doesn't show error

When I put all in the same line, the warning disappears but I exceed the maximum length of 100 characters.

@ricardopolo
Copy link

Hello! Do you have any news about this issue??

@ota-meshi
Copy link
Member

Thank you for this issue.

I opened the PR on vue-eslint-parser.

vuejs/vue-eslint-parser#74

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants