Skip to content
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

standard@17.1.0 contains breaking rule change #1912

Open
meganwalker-ibm opened this issue Jun 5, 2023 · 0 comments
Open

standard@17.1.0 contains breaking rule change #1912

meganwalker-ibm opened this issue Jun 5, 2023 · 0 comments

Comments

@meganwalker-ibm
Copy link

Consider the following file


/*
 * Some comment
 */

'use strict'
console.log('hello world')

Using standard@17.0.0 this passes fine.

% npx standard --version
17.0.0
% npx standard 
% echo $?
0

Using standard@17.1.0 this fails linting.

% npx standard --version
17.1.0
% npx standard          
standard: Use JavaScript Standard Style (https://standardjs.com)
standard: Run `standard --fix` to automatically fix some problems.
  <file.js>:1:1: Too many blank lines at the beginning of file. Max of 0 allowed. (no-multiple-empty-lines)
% echo $?
1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: No status
Development

No branches or pull requests

1 participant