-
-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Comparing changes
Open a pull request
base repository: eslint/eslint
base: 58216b60ee0d431ad8c0e29befd7edba56d7811b
head repository: eslint/eslint
compare: e0cbc50179adac1670f4e0bd9093387a51f4f42a
Commits on Dec 1, 2017
-
Docs: Adds an example with try/catch. (#9672)
* Docs: Adds an example with try/catch. Clarifies with an example that `return await` inside an error handler is allowed by this rule. * Update no-return-await.md
Configuration menu - View commit details
-
Copy full SHA for cdb1488 - Browse repository at this point
Copy the full SHA cdb1488View commit details
Commits on Dec 5, 2017
-
Chore: fix test-suite to work with node master (#9688)
Changes to the output of strictEqual are breaking the test suite This minor adjustment to the regex will fix Node 10+ while keeping support for older versions of node
Configuration menu - View commit details
-
Copy full SHA for 1ad3091 - Browse repository at this point
Copy the full SHA 1ad3091View commit details
Commits on Dec 6, 2017
-
Configuration menu - View commit details
-
Copy full SHA for d067ae1 - Browse repository at this point
Copy the full SHA d067ae1View commit details
Commits on Dec 8, 2017
-
Update: update handling of destructuring in camelcase (fixes #8511) (#…
Configuration menu - View commit details
-
Copy full SHA for 256481b - Browse repository at this point
Copy the full SHA 256481bView commit details -
Build: changelog update for 4.13.0
ESLint Jenkins committedDec 8, 2017 Configuration menu - View commit details
-
Copy full SHA for ac331bc - Browse repository at this point
Copy the full SHA ac331bcView commit details -
ESLint Jenkins committed
Dec 8, 2017 Configuration menu - View commit details
-
Copy full SHA for 29c3610 - Browse repository at this point
Copy the full SHA 29c3610View commit details
Commits on Dec 9, 2017
-
Configuration menu - View commit details
-
Copy full SHA for 4564fe0 - Browse repository at this point
Copy the full SHA 4564fe0View commit details -
Configuration menu - View commit details
-
Copy full SHA for d49d9d0 - Browse repository at this point
Copy the full SHA d49d9d0View commit details
Commits on Dec 11, 2017
-
Configuration menu - View commit details
-
Copy full SHA for d80aa7c - Browse repository at this point
Copy the full SHA d80aa7cView commit details -
Fix: eol-last allow empty-string to always pass (refs #9534) (#9696)
Note that there are already tests asserting this behavior, but they aren't actually run in the rules. See #9534
Configuration menu - View commit details
-
Copy full SHA for b72dc83 - Browse repository at this point
Copy the full SHA b72dc83View commit details -
Build: changelog update for 4.13.1
ESLint Jenkins committedDec 11, 2017 Configuration menu - View commit details
-
Copy full SHA for 3b0833f - Browse repository at this point
Copy the full SHA 3b0833fView commit details -
ESLint Jenkins committed
Dec 11, 2017 Configuration menu - View commit details
-
Copy full SHA for 234cd26 - Browse repository at this point
Copy the full SHA 234cd26View commit details
Commits on Dec 15, 2017
-
Fix: false positive on rule
lines-between-class-members
(fixes #9665) (Configuration menu - View commit details
-
Copy full SHA for 43d4ba8 - Browse repository at this point
Copy the full SHA 43d4ba8View commit details
Commits on Dec 16, 2017
-
* Fix typos * Fix capitalization manually
Configuration menu - View commit details
-
Copy full SHA for f819920 - Browse repository at this point
Copy the full SHA f819920View commit details -
Chore: improve arrow-body-style error message (refs #5498) (#9718)
#5498 gets more than twice as much traffic as any of our other issues. My interpretation of this fact is that people are often confused by errors from the `arrow-body-style` rule, and end up searching and finding that issue. This commit updates the error message for `arrow-body-style` to be more specific about how to fix the problem.
Configuration menu - View commit details
-
Copy full SHA for 14baa2e - Browse repository at this point
Copy the full SHA 14baa2eView commit details
Commits on Dec 17, 2017
-
Configuration menu - View commit details
-
Copy full SHA for f44ce11 - Browse repository at this point
Copy the full SHA f44ce11View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5a5c23c - Browse repository at this point
Copy the full SHA 5a5c23cView commit details
Commits on Dec 19, 2017
-
Configuration menu - View commit details
-
Copy full SHA for f252c19 - Browse repository at this point
Copy the full SHA f252c19View commit details -
This version of debug addresses a minor ReDoS issue. See debug-js/debug#501, debug-js/debug#504 for more information. Looking at the rest of the changelog, this should be a pretty low-risk upgrade.
Configuration menu - View commit details
-
Copy full SHA for 4ddc131 - Browse repository at this point
Copy the full SHA 4ddc131View commit details
Commits on Dec 20, 2017
-
Update: Improve parser integrations (fixes #8392) (#8755)
* rewrite traverser * add supports scope and visitorKeys of custorm parsers * add tests * scope → scopeManager in the result of `parser.parseForESLint` * keys → visitorKeys * move some functions to `create()` in no-unmodified-loop-condition * check `this.sourceCode.ast` * fix SourceCode parameter to one object * update for review * update Traverser with eslint-visitor-keys * tweak tests with eslint-visitor-keys * add `eslintVisitorKeys` and `eslintScopeManager` to parserOptions * update docs * fix list style * ensure `sourceCode.scopeManager` is set * Docs: update ScopeManager docs * update for review * fix some links to escope docs * update for review * upgrade eslint-visitor-keys to 1.0.0
Configuration menu - View commit details
-
Copy full SHA for 1c2aafd - Browse repository at this point
Copy the full SHA 1c2aafdView commit details -
Configuration menu - View commit details
-
Copy full SHA for 805a94e - Browse repository at this point
Copy the full SHA 805a94eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 37d066c - Browse repository at this point
Copy the full SHA 37d066cView commit details
Commits on Dec 21, 2017
-
Docs: improve no-extra-parens formatting (#9747)
The doc lists two exceptions in a bulleted list and then adds a third exception in prose. Move the prose to the bulleted list so it has three items.
Configuration menu - View commit details
-
Copy full SHA for e9d5dfd - Browse repository at this point
Copy the full SHA e9d5dfdView commit details -
New: Add allowImplicit option to array-callback-return (fixes #8539) (#…
…9344) * New: Add allowImplicit option to array-callback-return (fixes #8539) * Chore: add tests * Update array-callback-return.md * chore: rename options * Update array-callback-return.js * Update array-callback-return.js * Update array-callback-return.js * Improve allowImplicit option description * Test explicit return when "allowImplicit": true
Configuration menu - View commit details
-
Copy full SHA for ae51eb2 - Browse repository at this point
Copy the full SHA ae51eb2View commit details
Commits on Dec 22, 2017
-
Docs: reintroduce misspelling in
valid-typeof
example (#9753)This example is intended to be an invalid `typeof` string, to illustrate that the rule reports an error if the user makes a typo like this. However, the spelling was inadvertently corrected in aedae9d, so the documentation is now incorrect (it says that `valid-typeof` reports an error for that code, when in fact it does not).
Configuration menu - View commit details
-
Copy full SHA for eb4b1e0 - Browse repository at this point
Copy the full SHA eb4b1e0View commit details
Commits on Dec 23, 2017
-
Configuration menu - View commit details
-
Copy full SHA for 75c7419 - Browse repository at this point
Copy the full SHA 75c7419View commit details -
Chore: Reorganize CLI options and associated docs (#9758)
* Chore: Moved cache options below some more important option sets * Chore: Created "Inline configuration comments" option section * Chore: Created "Fixing problems" option section
Configuration menu - View commit details
-
Copy full SHA for 8196c45 - Browse repository at this point
Copy the full SHA 8196c45View commit details -
* Docs: Fix typos * s/RegExp/Regular Expression/
Configuration menu - View commit details
-
Copy full SHA for 370d614 - Browse repository at this point
Copy the full SHA 370d614View commit details -
Update: support separate requires in one-var. (fixes #6175) (#9441)
* Update: support separate requires in one-var. (fixes #6175) * wip. * fix edge case. * Docs: add JSCS link
Configuration menu - View commit details
-
Copy full SHA for be2f57e - Browse repository at this point
Copy the full SHA be2f57eView commit details -
Build: changelog update for 4.14.0
ESLint Jenkins committedDec 23, 2017 Configuration menu - View commit details
-
Copy full SHA for 5a29612 - Browse repository at this point
Copy the full SHA 5a29612View commit details -
ESLint Jenkins committed
Dec 23, 2017 Configuration menu - View commit details
-
Copy full SHA for 8d166b4 - Browse repository at this point
Copy the full SHA 8d166b4View commit details
Commits on Dec 24, 2017
-
Configuration menu - View commit details
-
Copy full SHA for f7dcb70 - Browse repository at this point
Copy the full SHA f7dcb70View commit details -
Configuration menu - View commit details
-
Copy full SHA for cbf0fb9 - Browse repository at this point
Copy the full SHA cbf0fb9View commit details
Commits on Dec 27, 2017
-
Configuration menu - View commit details
-
Copy full SHA for db431cb - Browse repository at this point
Copy the full SHA db431cbView commit details
Commits on Dec 28, 2017
-
Update: add
ignoreComments
option toindent
rule (fixes #9018) (#…1Configuration menu - View commit details
-
Copy full SHA for bbabf34 - Browse repository at this point
Copy the full SHA bbabf34View commit details
Commits on Dec 30, 2017
-
Fix: incorrect error messages of no-unused-vars (fixes #9774) (#9791)
Remove varsIgnorePattern incorrectly included in error messages of no-unused-vars.
Configuration menu - View commit details
-
Copy full SHA for 4c87f42 - Browse repository at this point
Copy the full SHA 4c87f42View commit details
Commits on Dec 31, 2017
-
Docs: Add table of contents to Node.js API docs (#9785)
Also standardize headers to ClassName#methodName so that it's easier to keep track of the context.
Configuration menu - View commit details
-
Copy full SHA for 61e5fa0 - Browse repository at this point
Copy the full SHA 61e5fa0View commit details
Commits on Jan 4, 2018
-
Configuration menu - View commit details
-
Copy full SHA for 9fcfabf - Browse repository at this point
Copy the full SHA 9fcfabfView commit details -
Update: More detailed assert message for rule-tester (#9769)
* Update: More detailed assert message for rule-tester * [squash]add try/finally block * [squash]append message instead of overwriting it * [squash]add parentheses surrounding error message
Configuration menu - View commit details
-
Copy full SHA for c64195f - Browse repository at this point
Copy the full SHA c64195fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 65f0176 - Browse repository at this point
Copy the full SHA 65f0176View commit details -
Docs: fix sort-imports rule block language (#9805)
one of the blocks in rule `sort-imports` was missing language highlighting so added that as in two previous blocks.
Configuration menu - View commit details
-
Copy full SHA for fc44da9 - Browse repository at this point
Copy the full SHA fc44da9View commit details
Commits on Jan 5, 2018
-
Docs: add url to each of the rules (refs #6582) (#9788)
* Docs: add url to each of the rules (refs #6582) Code mod: export default function transformer(file, api) { const j = api.jscodeshift; const name = file.path.split('/').pop().replace(/.js$/, ''); return j(file.source) .find(j.ObjectExpression) .filter(path => path.parentPath.node.key && path.parentPath.node.key.name === 'docs') .forEach(path => { const prop = j.property('init', j.identifier('url'), j.literal(`https://eslint.org/docs/rules/${name}`)); j(path).replaceWith(j.objectExpression([...path.node.properties, prop])); }) .toSource({lineTerminator: '\n'}); } * New: internal-rules/consistent-docs-url (refs #6582) Add a lint rule to ensure that each rule has a meta.docs.url property with the correct value.
Configuration menu - View commit details
-
Copy full SHA for fc7f404 - Browse repository at this point
Copy the full SHA fc7f404View commit details
Commits on Jan 7, 2018
-
New: Add context.report({ messageId }) (fixes #6740) (#9165)
* New: Add context.report({ messageId }) (fixes #6740) * Chore: Extract out loop variables in rule-tester.js * New: RuleTester checks the messageId of expected errors * Chore: Extract the {{ }} substitutions into a separate file * Chore: Test interpolate() * Docs: document messageIds * Fix: Node 4 compatibility * Docs: Specify `node` in messageIds example * Update: Throw if a rule uses a messageId, but doesn’t have meta.messages * Fix: Don’t mutate the descriptor * Chore: Use hOP instead of Object.keys().indexOf * Docs: Add explanation for messageIds * Chore: Fix lint errors * Docs: Show how to use placeholders in messages
Configuration menu - View commit details
-
Copy full SHA for 6ab04b5 - Browse repository at this point
Copy the full SHA 6ab04b5View commit details -
Build: changelog update for 4.15.0
ESLint Jenkins committedJan 7, 2018 Configuration menu - View commit details
-
Copy full SHA for 2dfc3bd - Browse repository at this point
Copy the full SHA 2dfc3bdView commit details -
ESLint Jenkins committed
Jan 7, 2018 Configuration menu - View commit details
-
Copy full SHA for e14ceb0 - Browse repository at this point
Copy the full SHA e14ceb0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 54b329a - Browse repository at this point
Copy the full SHA 54b329aView commit details
Commits on Jan 8, 2018
-
Configuration menu - View commit details
-
Copy full SHA for ccfce15 - Browse repository at this point
Copy the full SHA ccfce15View commit details -
Configuration menu - View commit details
-
Copy full SHA for acde640 - Browse repository at this point
Copy the full SHA acde640View commit details -
Update: Rename and deprecate object-property-newline option (#9570)
Object option allowMultiplePropertiesPerLine is stricter than the name implies. It creates an exception to object-property-newline only if ALL properties are on a SINGLE line. Renamed accordingly. Old name left deprecated, and 2 tests with deprecated name (1 valid and 1 invalid) left in force.
Configuration menu - View commit details
-
Copy full SHA for 2cf4522 - Browse repository at this point
Copy the full SHA 2cf4522View commit details
Commits on Jan 9, 2018
-
Configuration menu - View commit details
-
Copy full SHA for b9da067 - Browse repository at this point
Copy the full SHA b9da067View commit details
There are no files selected for viewing
This file was deleted.