All notable changes to this project will be documented in this file. This project adheres to Semantic Versioning.
- Enhancement: Added
--ignore
option support
- In addition to breaking changes and other in
15.0.0-0
, only some dependency updates
- BREAKING CHANGE: To avoid confusion with ESLint exports and types, our
Linter
class has been renamed toStandardEngine
andcli()
now takes astandardEngine
key instead of alinter
key if a custom engine wants to be provided. #275 - BREAKING CHANGE: Removed use of ESLint's deprecated
CLIEngine
API. This affects theeslintConfig
option to ourStandardEngine
(formerly calledLinter
) constructor. #275 - BREAKING CHANGE: Print additional label on warnings (to separate them from errors) b7c1e17
- BREAKING CHANGE: Drop support for Node 10.x. Now require ESM-compatible Node.js versions:
^12.20.0 || ^14.13.1 || >=16.0.0
#252 - BREAKING CHANGE: the
parseOpts
option to theStandardEngine
(formerly calledLinter
) constructor has been replaced with a newresolveEslintConfig
one - Change: make
--verbose
the default #232
- Missing release notes
- Missing release notes
- Missing release notes
- Enhancement: Allow passing in a custom linter to
cli
- Enhancements: Add ts-standard to README linters list
- Fixes: Bump deglob & minimist dependencies
- BREAKING CHANGE: Remove
bundle.js
from the list of default ignored files - BREAKING CHANGE: Ignore patterns from
.git/info/exclude
in addition to.gitignore
- Enhancement: Update deglob to 4.x
- Missing release notes
- Missing release notes
- Missing release notes
- Missing release notes
- Missing release notes
- Missing release notes
- New Feature:
noDefaultIgnore
option to can now be used to turn off default ignores.
engine.lintText
andengine.lintTextSync
do not take into account thepackage.json
configuration settings. These now do not behave differently depending on the current working directory. See #166
- BREAKING: rename the synchronous
lintText
method tolintTextSync
- Add an asyncronous
lintText
method (that just callslintTextSync
internally)
This effectively undoes the breaking change introduced in 6.0.0, making it safe to
upgrade from standard-engine
5.x to 7.x without introducing any breaking changes.
Related issues:
- BREAKING: make
lintText
into a sync method
Before: standardEngine.lintText(text, [opts], callback)
After: results = standardEngine.lintText(text, [opts])
If an error occurs, an exception is thrown. Otherwise, a results
object is
returned.
- Replace find-root and pkg-config by pkg-conf
- Support parseOpts() option
- Improve help message
- add missing ignored files
- add note about .gitignore files
- Prevent package.json
parser
option from overriding explicit option
- Resolve ignore options in standard-engine, not deglob
- Support filename option in lintText()
- Update dependencies
- Fix crash when 'stdin' and 'fix' options are used on code with no errors
- Add ESLint
cache
option
- Remove unneeded
xtend
,defaults
,multiline
dependencies - Re-order help commands
- Clarify it's only some problems that get fixed
- Only recommend
--fix
when fixable rules are present
- BREAKING: Remove formatter support (replaced by ESLint's --fix)
- BREAKING: Drop Node 0.12 and 0.10 support (because of ESLint 3)
- Add
{fix: true}
option tolintFiles
andlintText
API - Support auto-fixing source text from --stdin
- Update deps, improve tests
- Add "Try
standard --fix
message" when errors are present
- Remove
--format
from help when there is only an error string
- Add --fix option (uses eslint's --fix)
- Drop Node 0.12 and 0.10 CI testing (because of ESLint 3)
- Update deps
- Update deps
- Fix install warning due to
cross-spawn-async
- Add back node v0.10 support
- Fix truncated output on Node v6
- Do not use .eslintignore files
- Remove
--rules
option
- Update dependencies
- Support passing
cwd
option in Linter constructor
- Fix tests
- Fix tests
- Fix tests
- Fix tests
- Add
--plugin
option - Add
--rules
option - Add
--env
option
- Replace deprecated
win-spawn
dev dependency withcross-spawn-async
.
- Support
opts.format
string option to print message about how to install formatter.
- Remove
dezalgo
dependency
- Breaking: eslint is now a mandatory option in your options.js
- Fixed: Log warning messages when no errors are present
- remove prepended "Use" from tagline output
- update eslint to 1.9.0
- lock down eslint to 1.7.3 to fix space-in-parens eslint bug
- avoid mutating the eslint config object that's passed in (fixes #9)
- update eslint to 1.5.x
- fix fetching of eslint with older npm versions
- set custom parser in non-hacky way (fixes #12)
- ignore vendor/ folder by default
- readme changes
- All
standard
maintainers have been added tostandard-engine
. - Instead of synchronizing, we will now just update
standard-engine
directly to add features/fixes!
-
BREAKING CHANGE
standard-engine
is now using eslint 1.0!- Be sure your eslint configuration works with eslint 1.0 before upgrading.
-
Other dependencies were bumped in order to facilitate the update
-
The code was also meticulously synchronized with
standard
- CLI output is now identical
- A few code style updates were made for consistency
- fix standard issues in cmd.js
- Merged standard 5.0.0-8
- New feature: ability to specify globals via --global flag and
global
option
- Merged standard 4.5.4 changes: switch to using
deglob
- Removed a stray console.log
- Fix bug in custom parser option to make it work.
- Merged from standard: New "globals" option can be set in package.json to define an array of global variables.
- merge from latest standard 4.4.1 including:
- Fixes to the gitignore feature
- added
parser
parameter - Lots of repos added to clone.js test and made a lot faster! @feross is the best :)
- Fix NPE error when opts._config is undefined. Thanks @wombleton
- Fix gitignore support for Windows.
- Refactor to use pkg-config.
- Update to newer version of eslint to allow extending multiple eslint-config files.
- NEW FEATURE: Add proper .gitignore support
- NEW FEATURE: Custom Parsers can now be specified in
package.json
To use a custom parser, install it from npm (example: npm install babel-eslint
) and add this to your package.json:
{
"yourcmdname": {
"parser": "babel-eslint"
}
}
(Thanks @feross)
- NEW FEATURE: pass in a formatter to get
--format
as an option for the command line! Thanks @ricardofbarros!
- Speed increased significantly by reverting a default ignore pattern change.
- Fix bug where absolute paths to files was not working.
- Fix bug in
parseOpts
to ensure original options are not modified - Upgrade to eslint 0.21.0
- Disable
.gitignore
support for now.
- Fix crash on absolute filesystem path
- moved some files back to their original locations to make merging from
standard
easier.
- Ignore linting for all files in
.gitignore
. - Removed
/git/**
exclusion as its redundant. - Output errors to stdout instead of stderr.
- Updated
eslint-plugin-react
andtape
dependencies. - Additional tests.