-
-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Comparing changes
Open a pull request
base repository: eslint/eslint
base: v8.40.0
head repository: eslint/eslint
compare: v8.41.0
- 17 commits
- 33 files changed
- 10 contributors
Commits on May 7, 2023
-
1
Configuration menu - View commit details
-
Copy full SHA for 4caa344 - Browse repository at this point
Copy the full SHA 4caa344View commit details
Commits on May 8, 2023
-
perf: Store indent descriptors in a plain array (#17148)
* perf: Store indent descriptors in a plain array * Fix return type JSDoc Co-authored-by: Milos Djermanovic <milos.djermanovic@gmail.com> --------- Co-authored-by: Milos Djermanovic <milos.djermanovic@gmail.com>
1Configuration menu - View commit details
-
Copy full SHA for 918b0fd - Browse repository at this point
Copy the full SHA 918b0fdView commit details -
fix: switch
grapheme-splitter
tographemer
(#17160)* fix: improve `getGraphemeCount` * Fix * Fix * Use `Graphemer` only
1Configuration menu - View commit details
-
Copy full SHA for 9682d66 - Browse repository at this point
Copy the full SHA 9682d66View commit details -
docs: fix license to reflect relicensing of jshint (#17165)
Signed-off-by: Stefan Bischof <stbischof@bipolis.org>
1Configuration menu - View commit details
-
Copy full SHA for b68346b - Browse repository at this point
Copy the full SHA b68346bView commit details -
1
Configuration menu - View commit details
-
Copy full SHA for b1516db - Browse repository at this point
Copy the full SHA b1516dbView commit details
Commits on May 9, 2023
-
fix: validate
ignorePatterns
constructor option inFlatESLint
cla……ss (#17139) * fix: validate `ignorePatterns` constructor option in `FlatESLint` class * disallow string value
1Configuration menu - View commit details
-
Copy full SHA for 0c415cd - Browse repository at this point
Copy the full SHA 0c415cdView commit details -
1
Configuration menu - View commit details
-
Copy full SHA for 7f183e0 - Browse repository at this point
Copy the full SHA 7f183e0View commit details
Commits on May 10, 2023
-
1
Configuration menu - View commit details
-
Copy full SHA for 8bf5505 - Browse repository at this point
Copy the full SHA 8bf5505View commit details
Commits on May 13, 2023
-
GitHub Actions Bot committed
May 13, 2023 1Configuration menu - View commit details
-
Copy full SHA for 7709b14 - Browse repository at this point
Copy the full SHA 7709b14View commit details
Commits on May 16, 2023
-
fix: unify
LintMessage
type (#17076)* Update LintMessage type to reflect implementation I made three changes to `LintMessage` and `SuppressedLintMessage` 1. Many places that create `LintMessage`s don't set `fatal`, so I made it optional. This would be a breaking change if we made types part of our exports, but in this case I believe it's updating JSDoc documentation to reflect reality. 2. Added an optional `messageId` property that's set by reports from rules. 3. Added an optional, nullable `nodeType` property. - Reports from rules set it to a value. - `applyDirectives()` explicitly sets it to `null` for unused disable directives. - `Linter`'s `createLintingProblem()` explicitly sets it to `null`. * Add missing LintResult type import * Use LintMessage type All of these previously referenced a `Problem` type that does not have a definition. * Replace ReportInfo type with LintMessage type `ReportInfo` was defined within `report-translator.js` to be very similar to `LintMessage`. It had one extra property, `source`, which wasn't ever set, so it would've been removed anyway. In `Linter.runRules()`, the return value from `reportTranslator()` gets pushed into a `lintingProblems` array and returned, and the return type annotation is `LintMessage[]`, which gives me confidence that `ReportInfo` was intended to be the same type as `LintMessage` elsewhere. * Make ruleId required but nullable Originally, we talked about the reverse - making `ruleId` optional but non-nullable and relying on `report-translator.js`'s `createProblem()` to normalize it. However, the `LintMessage` type would differ from `createProblem()`'s return value only by `null` vs `undefined` for `ruleId`. So instead, I made `ruleId` required but nullable and explicitly set it to `null` in the few remaining places that didn't already. * Add missing null nodeTypes `LintMessage.nodeType` is currently defined as required but nullable. Actual implementations explicitly set it to `null` in a couple places and omit it in several. After discussion in #16968, we initially leaned toward making it non-nullable but optional. I pursued that, but it resulted in slightly more runtime code changes, including some branching in `report-translator` to set it conditionally. Instead, I'm presenting the opposite solution of updating the remaining implementations to match the existing type definition by explicitly setting `nodeType` to `null`. * Update LintMessage docs This updates existing documented properties to match the updated `LintMessage` type and implementations. `messageId`, `nodeType`, and `suppressions` remain undocumented.
1Configuration menu - View commit details
-
Copy full SHA for 94da96c - Browse repository at this point
Copy the full SHA 94da96cView commit details
Commits on May 17, 2023
-
feat: change default ignore pattern to
**/node_modules/
in flat con…1Configuration menu - View commit details
-
Copy full SHA for 880a431 - Browse repository at this point
Copy the full SHA 880a431View commit details
Commits on May 18, 2023
-
1
Configuration menu - View commit details
-
Copy full SHA for ddc5291 - Browse repository at this point
Copy the full SHA ddc5291View commit details
Commits on May 19, 2023
-
1
Configuration menu - View commit details
-
Copy full SHA for 4f5440d - Browse repository at this point
Copy the full SHA 4f5440dView commit details -
chore: package.json update for @eslint/js release
ESLint Jenkins committedMay 19, 2023 1Configuration menu - View commit details
-
Copy full SHA for 95c3007 - Browse repository at this point
Copy the full SHA 95c3007View commit details -
1
Configuration menu - View commit details
-
Copy full SHA for f43216a - Browse repository at this point
Copy the full SHA f43216aView commit details -
Build: changelog update for 8.41.0
ESLint Jenkins committedMay 19, 2023 1Configuration menu - View commit details
-
Copy full SHA for acd615c - Browse repository at this point
Copy the full SHA acd615cView commit details -
ESLint Jenkins committed
May 19, 2023 1Configuration menu - View commit details
-
Copy full SHA for 7a2a0be - Browse repository at this point
Copy the full SHA 7a2a0beView commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff v8.40.0...v8.41.0