Permalink
Comparing changes
Choose two branches to see what’s changed or to start a new pull request.
If you need to, you can also .
Open a pull request
Create a new pull request by comparing changes across two branches. If you need to, you can also .
56
contributors
This comparison is big! We’re only showing the most recent
250
commits
Commits on Jun 02, 2019
Commits on Jun 05, 2019
Commits on Jun 07, 2019
Commits on Jun 08, 2019
* removed '>' prefix from from docs/working-with-rules * retained the line space
* Chore: removes unnecessary assignment in loop also reduces cyclomatic complexity with a slight reconfiguring of some conditions * uses ternary based on review notes
* Update: support "bigint" in valid-typeof rule BigInt just moved to Stage 4, so add support for it to the valid-typeof rule. * Docs: add Further Reading to valid-typeof rule This commit adds a Further Reading section to the valid-typeof rule documentation.
Commits on Jun 11, 2019
Commits on Jun 17, 2019
Commits on Jun 18, 2019
🚨 As of Babel 7.4.0, this package has been deprecated in favor of directly including core-js/stable (to polyfill ECMAScript features) and regenerator-runtime/runtime (needed to use transpiled generator functions):
Commits on Jun 19, 2019
Commits on Jun 20, 2019
This ESLint rule handles both leading and trailing decimal points. In order to ease discovery of this ESLint rule, mention the latter warning as well, as users might only find those in their code. https://github.com/jshint/jshint/blob/7993101/src/style.js#L100-L116
Commits on Jun 21, 2019
Commits on Jun 22, 2019
Commits on Jun 23, 2019
Commits on Jun 24, 2019
* Docs: Update examples with the new default option (refs #11503) - Remove redundant sentence from the summary as the default for allowParens is now true. - Update examples according to the new default. * Docs: Fix examples - Moved an example from correct to incorrect. - Added a new correct example.
Commits on Jun 25, 2019
Commits on Jun 26, 2019
* Docs: add 'stricter rule config validating' in migrating docs * Docs: fix typo
Commits on Jun 27, 2019
* Upgrade: some deps to latest * Chore: fix linting errors
Commits on Jul 03, 2019
* Chore: add v8-compile-cache to speed up instantiation time v8-compile-cache attaches a require hook to use V8's code cache to speed up instantiation time. The "code cache" is the work of parsing and compiling done by V8.
Commits on Jul 04, 2019
Commits on Jul 06, 2019
Commits on Jul 11, 2019
Commits on Jul 12, 2019
Commits on Jul 14, 2019
Commits on Jul 16, 2019
Issue in lodash filed at lodash/lodash#4348
Commits on Jul 17, 2019
Commits on Jul 18, 2019
Commits on Jul 19, 2019
Commits on Jul 21, 2019
Commits on Jul 31, 2019
`eslint.linter` exists for backwards compatibility, but we do not recommend using it because any mutations to it are shared among every module that uses `eslint`. Instead, please create your own instance of `eslint.Linter`.
Commits on Aug 01, 2019
Commits on Aug 02, 2019
The global variable that the user doesn't want to use is event not error I think the confusion came from the rule setting being named error
Commits on Aug 03, 2019
* Update: Check computed method keys in no-extra-parens * Remove member null check
Commits on Aug 05, 2019
Commits on Aug 06, 2019
Commits on Aug 10, 2019
Commits on Aug 12, 2019
Commits on Aug 13, 2019
#12001) * ternary operators added to tule * ternary operators added * cases added for ternary operator mixed with logical * documentation updated * hard coded string message removed and in place added the operator.. * test cases fixed * added the option to check for ternary operator and extra tests * documentation and tests updated * check for test or left node moved to a sperate function * wrong comment. Has been updated
…#12076) * Fix: no-extra-boolean-cast invalid autofix for Boolean() without args * Add test cases * Prevent removal of comments
Commits on Aug 16, 2019
Commits on Aug 18, 2019
* Fix: fix on TemplateLiteral * Fix: fix on AssignmentPattern * Fix: fix SequenceExpression at TemplateLiteral
…12062) * Update: Fix accessor-pairs to enforce pairs per property in literals * Use getFunctionNameWithKind and getFunctionHeadLoc, fix tests * Add Known Limitations section in documentation
* New: noInlineConfig setting (refs eslint/rfcs#22) * fix typo Co-Authored-By: Kevin Partington <platinum.azure@kernelpanicstudios.com> * fix typo in tests * add tests for line comments * add config name
* upgrade deps * make CodePathAnalyzer handling ImportExpression as throwable * fix new-cap rule * fix astUtils.getPrecedence * fix astUtils.isNullLiteral * add env.es2020 * fix func-call-spacing rule * fix function-paren-newline rule * fix indent rule * fix no-extra-parens rule * Upgrade: espree@^6.1.0, eslint-visitor-keys@^1.1.0 * Chore: Ignore tools/internal-rules/node_modules * Upgrade: acorn@^7.0.0 This avoids a dependency deduplication conflict for developers
Commits on Aug 19, 2019
* update docs for ecmaVersion 2020 * fix first list
Commits on Aug 20, 2019
Commits on Aug 23, 2019
Commits on Aug 24, 2019
Commits on Aug 26, 2019
Commits on Aug 28, 2019
Commits on Aug 29, 2019
Commits on Aug 30, 2019
* Chore: use GitHub Actions * fix syntax error * fix syntax error * fix fuzz test * change triggers * remove badge * add badge * re-add Azure Pipelines files and badge
* Chore: refactor code * Fix: minor tweak * Minor tweak * Fix: lint * Fix: minor tweak have deps as a Set rather than an array * Fix: tweak * fix: typo
Commits on Aug 31, 2019
Commits on Sep 01, 2019
Commits on Sep 03, 2019
Commits on Sep 04, 2019
Commits on Sep 06, 2019
This also updates the rule description to be clearer, and refactors the code to use messageIds instead of constants. Removes some superfluous code.
Commits on Sep 07, 2019
* New: add rule default-param-last (fixes #11361) * Chore: fix typos * Chore: add test cases * Apply suggestion: add column for a test case * Update: change error message * Docs: add example in opening section * Add test cases about parameter destructuring
Commits on Sep 08, 2019
Commits on Sep 12, 2019
Commits on Sep 13, 2019
Commits on Sep 14, 2019
* New: Add prefer-regex-literals rule (fixes #12238) * Update docs/rules/prefer-regex-literals.md Co-Authored-By: Kevin Partington <platinum.azure@kernelpanicstudios.com> * Update docs/rules/prefer-regex-literals.md Co-Authored-By: Kevin Partington <platinum.azure@kernelpanicstudios.com> * Pass ecmaVersion to RuleTester constructor * Check global String reference
* Fix: object-shorthand providing invalid fixes for typescript * Chore: refactor to not rely on async modifier check * Chore: ensure return type isn't wiped for no arguments * Chore: add ts code test to prevent regressions
* Fix: no-sequences is reporting incorrect locations * Report full location
* Docs: Added naming convention details user guide Added clarification about the answer regarding #12190. * Docs: reverted markdown list style to the original
* Docs: Improve examples and clarify default option The "default" option is now set to `overrides` instead of `after` because examples in after may be misleading. A new incorrect example is added to `overrides` to clarify whether the overridden style can still be used. * Docs: Reformat operator-linebreak
note: this is a breaking change in eslint-config-eslint. refs:0313441
Commits on Sep 17, 2019
Commits on Sep 19, 2019
Commits on Sep 20, 2019
* Docs: fix links in array-callback-return * Remove extra space
Commits on Sep 23, 2019
Commits on Sep 25, 2019
Commits on Sep 28, 2019
Commits on Sep 29, 2019
* Chore: enable eslint-plugin-jsdoc (refs #11146) * Chore: enable jsdoc/check-types * Chore: enable jsdoc/check-param-names * Chore: enable jsdoc/check-alignment * Chore: enable jsdoc/check-tag-names * Chore: enable jsdoc/check-syntax * Chore: enable jsdoc/implements-on-classes * Chore: enable jsdoc/require-param-descriptions * Chore: enable jsdoc/require-param-name * Chore: enable jsdoc/require-param-type * Chore: enable jsdoc/require-param * Chore: enable jsdoc/require-returns-description * Chore: enable jsdoc/require-returns-type * Chore: enable jsdoc/require-returns * Fix: eslint-plugin-jsdoc uses Function by default * Chore: fix test * Fix: remove out of date comment
Commits on Sep 30, 2019
Commits on Oct 01, 2019
Commits on Oct 03, 2019
* Chore: enable jsdoc/newline-after-description * Chore: enable jsdoc/require-hyphen-before-param-description
Commits on Oct 04, 2019
* Docs: Fix link to code conventions * Docs: Fix formattting * Docs: Fix formatting of example config All other example configs in the docs spaced curly braces in object literals, so this commit updates this for consistency. * Docs: Fixed grammar * Docs: Revert link to code conventions This reverts commit ab5dba7. * Docs: Revert link to code conventions * Docs: Revert link to code conventions Sorry for all the commits.
Commits on Oct 08, 2019
* Give variable name to matched text This simply makes the code a bit easier to read by giving a name to `match[1]`. * Refactor: Untangle logic for parsing directives There are a few thing going on in this function which were getting conflated: 1. Parsing a `directiveType` out of the comment. 2. Ignoring directives that are in line comments but only support block comments. 3. Warning on and ignoring line comments that span multiple lines. Previously these three pieces of functionality were tightly coupled which made the code harder to read. After this change each task is handled independently of the other. * Core: Consolidate handling disable directives Rather than conditionally set a mutable value and check for it at the end of the switch statement, we can actually just handle it inline by using a fallthrough.
Commits on Oct 10, 2019
Commits on Oct 12, 2019
Commits on Oct 13, 2019
Commits on Oct 15, 2019
Commits on Oct 16, 2019
* New: pass cwd from cli engine * fix linting error
Commits on Oct 17, 2019
Commits on Oct 18, 2019
* Update: improve report location for no-space-in-parens * Add test cases with multiple spaces
Commits on Oct 20, 2019
Commits on Oct 21, 2019
Commits on Oct 22, 2019
* Docs: fix docs for no-unneeded-ternary (fixes #12098) * Update: add test cases - default assignment on right hand side - default assignment not on right side - assignment that is not default e.g. x ? 1 : x * Update doc for clarity
Commits on Oct 23, 2019
…2475) * Docs: Add note about Node.js requiring SSL support Adds a small note that Node.js requires SSL to be built in. While this hasn't affected many users, it's good to document in case this comes up in the future. (And the Node.js project itself did run into this as a problem.) * Docs: Update getting started guide with SSL note * Chore: rm trailing space
Commits on Oct 24, 2019
Uses new `ignoredPropertyAssignmentsRegex` option.
We merged a PR that had been waiting for a while, and we had added a lint rule since it had been opened that caused the build to fail once merged to master.
Commits on Oct 25, 2019
This file was deleted.