All notable changes to this project will be documented in this file. This project adheres to Semantic Versioning.
- Enhancement: Added
--ignoreoption 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
Linterclass has been renamed toStandardEngineandcli()now takes astandardEnginekey instead of alinterkey if a custom engine wants to be provided. #275 - BREAKING CHANGE: Removed use of ESLint's deprecated
CLIEngineAPI. This affects theeslintConfigoption 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
parseOptsoption to theStandardEngine(formerly calledLinter) constructor has been replaced with a newresolveEslintConfigone - Change: make
--verbosethe 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.jsfrom the list of default ignored files - BREAKING CHANGE: Ignore patterns from
.git/info/excludein 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:
noDefaultIgnoreoption to can now be used to turn off default ignores.
engine.lintTextandengine.lintTextSyncdo not take into account thepackage.jsonconfiguration settings. These now do not behave differently depending on the current working directory. See #166
- BREAKING: rename the synchronous
lintTextmethod tolintTextSync - Add an asyncronous
lintTextmethod (that just callslintTextSyncinternally)
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
lintTextinto 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
parseroption 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
cacheoption
- Remove unneeded
xtend,defaults,multilinedependencies - Re-order help commands
- Clarify it's only some problems that get fixed
- Only recommend
--fixwhen 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 tolintFilesandlintTextAPI - Support auto-fixing source text from --stdin
- Update deps, improve tests
- Add "Try
standard --fixmessage" when errors are present
- Remove
--formatfrom 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
--rulesoption
- Update dependencies
- Support passing
cwdoption in Linter constructor
- Fix tests
- Fix tests
- Fix tests
- Fix tests
- Add
--pluginoption - Add
--rulesoption - Add
--envoption
- Replace deprecated
win-spawndev dependency withcross-spawn-async.
- Support
opts.formatstring option to print message about how to install formatter.
- Remove
dezalgodependency
- 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
standardmaintainers have been added tostandard-engine. - Instead of synchronizing, we will now just update
standard-enginedirectly to add features/fixes!
-
BREAKING CHANGE
standard-engineis 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
globaloption
- 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
parserparameter - 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
--formatas 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
parseOptsto ensure original options are not modified - Upgrade to eslint 0.21.0
- Disable
.gitignoresupport for now.
- Fix crash on absolute filesystem path
- moved some files back to their original locations to make merging from
standardeasier.
- Ignore linting for all files in
.gitignore. - Removed
/git/**exclusion as its redundant. - Output errors to stdout instead of stderr.
- Updated
eslint-plugin-reactandtapedependencies. - Additional tests.