As with every new major release, there are lots of new rules in 16.0.0 designed
to help catch bugs and make programmer intent more explicit. This release brings
better JSX and React support! āļø
When you upgrade, consider running standard --fix to automatically format your
code to match the newly added rules.
ā¤ļø If you enjoy StandardJS and want to support future releases, please
support the maintainer.
New features
š Better performance: the filesystem doesn't need to be traversed multiple times! #1023
Massive improvements (on the order of minutes!) for projects with huge folders which are are ignored with .gitignore
š Support the .gitignore ignore syntax from the command line #1117
In older versions, the command standard src would not lint the src/ folder
Instead, a glob pattern needed like standard src/**/*.js was required
This is now fixed! You can run standard src to lint the src/ folder!
š Support relative paths from the command line (e.g. standard ../src/*.js) #1384
š New extensions option for linting additional extensions besides .js, .jsx, .mjs, and .cjs
Can be configured with the --ext command line flag or in package.json:
Example:
standard --ext .ts
{
"standard": {
"extensions": [".ts"]
}
}
Changed features
Update eslint from ~7.11.0 to ~7.12.1
Update standard-engine from ^12 to ^14
Fix inaccurate --help command which indicates that bundle.js is automatically ignored when it is not [standard-engine/#224](standard/standard-engine#224)
New cache directory location, respecting XDG_CACHE_HOME preference, with fallback to ~/.cache/standard [standard-engine/#214](standard/standard-engine#214)
Remove deglob package and use built-in ESLint folder-traversal support
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps standard from 15.0.1 to 16.0.0.
Changelog
Sourced from standard's changelog.
... (truncated)
Commits
81de719
16.0.09f94f98
prep changelog for 16.0.0f5b298a
standard-engine@149f73bf2
eslint-config-standard-jsx@100ce671d
eslint-config-standard@16dfea036
changelogc167c0a
disable failing repos for 'no-var' rule24ddf3f
changelog258ee48
disable no-var rule for cmd since it needs to run on all node versions59dc70e
remove eslint-plugin-standardDependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)