All notable changes to the eslint-config-default project.
Copyright 2015-2018 Sudaraka Wijesinghe sudaraka@sudaraka.org
This program comes with ABSOLUTELY NO WARRANTY; This is free software, and you are welcome to redistribute it and/or modify it under the terms of the BSD 2-clause License. See the LICENSE file for more details.
- All published rules as of
eslint-plugin-react7.6.1
- Update ESLint dependency to 4.17.0 (no rules changes).
- Disabled
multiline-comment-style, all available options conflict with my coding style.
- Disabled
no-inline-comments, want to use inline comments to hint argument names, types, etc.
- All published rules as of ESLint 4.12.0
- All published rules as of
eslint-plugin-react7.5.1jsx-curly-brace-presenceoff by default to allow use of braces only when necessary.
- Set
ESLintas a peer dependency.
- All published rules as of ESLint 4.6.0
- Graceful handling of remote data errors.
- Turn off rule package version tag processing by default. (version tag processing can be enabled by command line parameter)
- Allow modification of event properties (i.e.
e.target.disabled = true) - Allow magic numbers 0, 1 and 2.
0, 1 allowed for length/emptiness test (i.e.
1 > lengthor0 < length)2 allowed for decimal point representation (i.e.
value.toFixed(2)) - Adjust for
unpkg.comURL change. (?json=>?meta) - Removed some clutter using argument spread.
- Prevent errors from being swallowed at
Promise.catchhandlers in mid-process.
- Set default behavior for following rules to
error:array-callback-returnconsistent-returnno-empty-functionno-magic-numbers(withignoreArrayIndexes: true)no-param-reassign(withprops: true)camelcaseno-inline-commentspadded-blocks(never)init-declarations(always)
.eslintrcandnpmscript command to self-lint file in this package.
- Switch to use
line-alignedfor JSX closing brackets. - Turn off all deprecated rules as of ESLint 4.5.0
- Split default rule set into multiple modules.
- Lint error in .js files.
- All published rules as of
eslint-plugin-react7.2.0
- All published rules as of ESLint 4.2.0
- All published rules as of
eslint-plugin-react7.1.0
- All published rules as of ESLint 4.0.0
- All published rules as of
eslint-plugin-react7.0.1 - checkrules.js: lookup multiple release tags in same package.
- Deprecated rules from
reactplugin.
- Adjust
no-multi-spacesrule to allow multiple (conventionally 2) spaced before EOL comment.
- All published rules as of ESLint 3.17.0
- checkrules.js: introduce optional rule name prefixes to handle internal rule name vs filename incompatibilities in plugins.
- All published rules as of
eslint-plugin-react6.10.0
- checkrules.js: Rename "prefix" field in source dataset to "namespace".
- checkrules.js: Adjust for ESLint v3.16 package structure.
prefixesfield ofRULE_SOURCESalways have to be an Array.
- Extended configuration file for Preact based projects.
- All published rules as of ESLint 3.15.0
- All published rules as of ESLint 3.14.0
- Source to check released rules of
eslint-react-pluginvia unpkg.com.
- Get package information from
npmrepository. - Set
ESLintas direct dependency.
- Sources for unreleased rules on github.
- Support to process rules from multiple locations in
checkrules.js. - Optional/Custom function to process rules data retrieved from the remote source.
- Support rule prefixes.
- Source to check rules of
eslint-react-plugin. - Available rules of
eslint-plugin-reacton 2017-01-20.
- Use
chalkfor colorful display of the result.
- All published rules as of ESLint 3.13.0
- Turned off
capitalized-commentsrule.
- All published rules as of ESLint 3.12.0
- All published rules as of
eslint-plugin-react6.4.1
- All published rules as of ESLint 3.8.0
- Allow _ to indicate unused argument.
- Do not apply
max-lenrule to strings and template literals.
- Make
max-lenfor code 100 to allow some flexibility. 80 should be the limit by discipline/practice.
- Invalid value in max-line rule ('error' => 2)
- All published rules as of ESLint 3.5.0
- Rename npmcdn.com to unpkg.com (via https://github.com/npmcdn-to-unpkg-bot PR, Thanks).
- Removed some duplicated entries in default rules.
- All published rules as of ESLint 3.3.0
- All published rules as of
eslint-plugin-react6.0.0
- Allow underscore as unused variable for throw aways.
- checkrules.js: show different shape icons for released and beta rules.
- checkrules.js: show github link for beta rules.
- checkrules.js: get latest
ESLintversion fromnpmrepository instead of frompackage.json. - checkrules.js: Remove unwanted line breaks from output.
- All published rules as of ESLint 3.1.0
- Adjusted strict mode setting for ES5 configuration.
- checkrules.js: show pre-release rule changes from github master branch.
- Allow template literals in
quotesrule.
eslint2.13.0 and later require relative extend to include file extension.
- Default rules no longer inherit from
eslint:recommended.
- All published rules as of ESLint 2.12.0
- Make
no-warning-commentsrule show a warning instead of an error.
- Removed parts of the
default.jsdescription that are incorrect. - Adjusted quotes and white-spaces to match with default rules.
- Added missing second argument to
no-extra-parensrule.
- All published rules as of ESLint 2.11.0
- Require space after
trykeyword. - Make rule settings use text instead of integer.
- checkrules.js: lookup new rules based on the current peer dependency setting via npmcdn.com
- All published rules as of ESLint 2.10.2
- Added
eslintas a peer dependency to this package. - checkrules.js: lookup
ESLintGithub repository for new/removed rules.
- Changed
package.jsonauthor URL to HTTPS. - Disabled
react/jsx-no-bind, like to use it and keep child components stateless. - Disabled
react/prop-types, it's annoying to use with Redux enabled components. - Require spaces inside array brackets.
- React configuration depends on
eslint-plugin-reactplugin. - Included all rules from React plugin v4.0 to React configuration.
- Missing rule
no-unused-varsto the default configuration. - Extended configuration file for React JS based projects.
- ES2015 environment enabled by default.
- Do not require ending semicolons.
- Updated rules and configuration for ESLint v2 compatibility.
- Make linebreaks to be in before operators (changed my mind).
- Relaxed the requirement of parenthesis around function arguments.
- Turned off id-length rule as it became impractical to maintain exceptions.
- Converted .js files to 2 space indentation.
- Disabled no-mixed-requires rule in favour of one-var
- Update copyright year to include 2016.
- Disabled padded-block rule as both options given by it makes the code ugly.
- Allow more nested callbacks, need them when using
mochatesting scripts. - Switched to using 2 space indentation for JS code.
- Allow _ as short identifier, used to indicate unused variable.
- Allow x and y as short identifiers, used when specifying coordinates.
- Make space after/before object curly braces mandatory.
- Extended configuration file for ES5 projects that target web browsers.
- Fixed a typo in package.json author information caused by bad .npmrc setting.
- Package name changed to
@sudaraka/eslint-config-default
- Abandoning package name
@sudaraka/eslint-configto enable better extensibility.
- Allow number id identifier names
- Default ESLint configuration with (almost) all rules enabled
- Scoped npm package to be used by eslint
extendsconfiguration - README, LICENSE and CHANGELOG