Skip to content

Commit b7f4e49

Browse files
committed
Merge branch 'master' into v11
* master: (46 commits) fix gts type aware by emulating them to ts files set our own ts.sys with ts.setSys typescript-eslint has handling for a lot of scenarios for file changes and project changes etc use mts extension to keep same offsets we also sync the mts with the gts files Switch to ESLint flat config internally (ember-cli#2018) [gjs-gts-parser] fix parsing when there are multiple default <template> blocks (not allowed) (ember-cli#2005) Release 12.0.0-alpha.2 fix locations after template reference tag name parts (split up with dot) instead of whole tag add failing test Release 12.0.0-alpha.1 docs: recommended-gts/gjs instead of gts/gjs-recommended add rule to gjs & gts build(deps-dev): Bump eslint from 8.52.0 to 8.53.0 build(deps-dev): Bump npm-package-json-lint from 7.0.0 to 7.1.0 build(deps-dev): Bump eslint-doc-generator from 1.5.3 to 1.5.4 Update `@typescript-eslint/` dependencies to v6 (ember-cli#1984) Fix missing gjs/cts config icons (ember-cli#1982) improve gts gjs configuration example Release 12.0.0-alpha.0 Switch to `@release-it-plugins/lerna-changelog` (ember-cli#1979) Set config `ecmaVersion` to `2022` (ember-cli#1978) Add new `recommended` rule: `template-no-let-reference` (ember-cli#1977) ...
2 parents 49b1a61 + 49f2690 commit b7f4e49

193 files changed

Lines changed: 5148 additions & 3556 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.eslint-doc-generatorrc.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
/** @type {import('eslint-doc-generator').GenerateOptions} */
22
module.exports = {
3+
configEmoji: [
4+
['recommended-gjs', '![gjs logo](/docs/svgs/gjs.svg)'],
5+
['recommended-gts', '![gts logo](/docs/svgs/gts.svg)'],
6+
],
37
ruleDocSectionInclude: ['Examples'],
48
ruleDocTitleFormat: 'prefix-name',
59
ruleListSplit: 'meta.docs.category',

.eslintignore

Lines changed: 0 additions & 6 deletions
This file was deleted.

.eslintrc.js

Lines changed: 0 additions & 200 deletions
This file was deleted.

.github/workflows/ci.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,10 @@ jobs:
1717
strategy:
1818
matrix:
1919
os: [ ubuntu, windows ]
20-
node-version: [14.x, 16.x, 18.x]
20+
node-version: [18.x, 20.x, 21.x]
2121

2222
steps:
23-
- uses: actions/checkout@v3
23+
- uses: actions/checkout@v4
2424

2525
- name: Use Node.js ${{ matrix.node-version }}
2626
uses: actions/setup-node@v4
@@ -35,5 +35,3 @@ jobs:
3535
- run: yarn update && git diff --exit-code
3636

3737
- run: yarn test:coverage --runInBand
38-
39-
- run: yarn add --dev eslint@7 && yarn test --runInBand

.github/workflows/codeql-analysis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ jobs:
3939

4040
steps:
4141
- name: Checkout repository
42-
uses: actions/checkout@v3
42+
uses: actions/checkout@v4
4343

4444
# Initializes the CodeQL tools for scanning.
4545
- name: Initialize CodeQL

CHANGELOG.md

Lines changed: 40 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -1,46 +1,58 @@
1+
## v12.0.0-alpha.2 (2023-11-10)
12

3+
#### :bug: Bug Fix
4+
* [#1994](https://github.com/ember-cli/eslint-plugin-ember/pull/1994) [gjs/gts parser] fix locations for ast after templates ([@patricklx](https://github.com/patricklx))
5+
* [#1992](https://github.com/ember-cli/eslint-plugin-ember/pull/1992) [gjs/gts parser] fix references for tags with a dot & non standard html tags ([@patricklx](https://github.com/patricklx))
26

7+
#### Committers: 1
8+
- Patrick Pircher ([@patricklx](https://github.com/patricklx))
39

410

11+
## v12.0.0-alpha.1 (2023-11-07)
512

13+
#### :boom: Breaking Change
14+
* [#1981](https://github.com/ember-cli/eslint-plugin-ember/pull/1981) Add `template-no-let-reference` rule to `recommended-gjs` and `recommended-gts` configs ([@patricklx](https://github.com/patricklx))
615

16+
#### :rocket: Enhancement
17+
* [#1984](https://github.com/ember-cli/eslint-plugin-ember/pull/1984) Update `@typescript-eslint/` dependencies to v6 ([@patricklx](https://github.com/patricklx))
718

19+
#### :memo: Documentation
20+
* [#1980](https://github.com/ember-cli/eslint-plugin-ember/pull/1980) Improve gts gjs configuration example ([@patricklx](https://github.com/patricklx))
21+
* [#1990](https://github.com/ember-cli/eslint-plugin-ember/pull/1990) Fix names for `recommended-gts` / `recommended-gjs` configs in readme ([@c0rydoras](https://github.com/c0rydoras))
822

23+
#### Committers: 2
24+
- Arthur Deierlein ([@c0rydoras](https://github.com/c0rydoras))
25+
- Patrick Pircher ([@patricklx](https://github.com/patricklx))
926

1027

28+
## v12.0.0-alpha.0 (2023-11-04)
1129

30+
#### :boom: Breaking Change
31+
* [#1962](https://github.com/ember-cli/eslint-plugin-ember/pull/1962) Drop support for Node 14, 16, 19 ([@patricklx](https://github.com/patricklx))
32+
* [#1963](https://github.com/ember-cli/eslint-plugin-ember/pull/1963) Add new `recommended` rules: `no-at-ember-render-modifiers`, `no-deprecated-router-transition-methods`, `no-implicit-injections`, `no-runloop`, `no-tracked-properties-from-args`, ([@patricklx](https://github.com/patricklx))
33+
* [#1977](https://github.com/ember-cli/eslint-plugin-ember/pull/1977) Add new `recommended` rule: `template-no-let-reference` ([@bmish](https://github.com/bmish))
34+
* [#1967](https://github.com/ember-cli/eslint-plugin-ember/pull/1967) Drop support for ESLint 7 ([@bmish](https://github.com/bmish))
35+
* [#1978](https://github.com/ember-cli/eslint-plugin-ember/pull/1978) Set config `ecmaVersion` to `2022` ([@bmish](https://github.com/bmish))
36+
* [#1965](https://github.com/ember-cli/eslint-plugin-ember/pull/1965) Change `useAt` option default to `true` at in `no-get` rule ([@patricklx](https://github.com/patricklx))
1237

38+
#### :rocket: Enhancement
39+
* [#1939](https://github.com/ember-cli/eslint-plugin-ember/pull/1939) Add new rule `template-no-let-reference` ([@patricklx](https://github.com/patricklx))
40+
* [#1943](https://github.com/ember-cli/eslint-plugin-ember/pull/1943) Add new rule `template-indent` ([@patricklx](https://github.com/patricklx))
41+
* [#1971](https://github.com/ember-cli/eslint-plugin-ember/pull/1971) Add template block comment eslint directives ([@patricklx](https://github.com/patricklx))
42+
* [#1944](https://github.com/ember-cli/eslint-plugin-ember/pull/1944) Add gts/gjs configs ([@patricklx](https://github.com/patricklx))
43+
* [#1942](https://github.com/ember-cli/eslint-plugin-ember/pull/1942) Use custom parser for gts/gjs ([@patricklx](https://github.com/patricklx))
44+
* [#1975](https://github.com/ember-cli/eslint-plugin-ember/pull/1975) Update almost all dependencies ([@bmish](https://github.com/bmish))
1345

46+
#### :memo: Documentation
47+
* [#1969](https://github.com/ember-cli/eslint-plugin-ember/pull/1969) Add automatic rule option lists with eslint-doc-generator ([@bmish](https://github.com/bmish))
48+
* [#1966](https://github.com/ember-cli/eslint-plugin-ember/pull/1966) Automatically generate README configs list with eslint-doc-generator ([@bmish](https://github.com/bmish))
1449

50+
#### :house: Internal
51+
* [#1974](https://github.com/ember-cli/eslint-plugin-ember/pull/1974) Update eslint-plugin-unicorn to v49 ([@bmish](https://github.com/bmish))
1552

16-
17-
18-
19-
20-
21-
22-
23-
24-
25-
26-
27-
28-
29-
30-
31-
32-
33-
34-
35-
36-
37-
38-
39-
40-
41-
42-
43-
53+
#### Committers: 2
54+
- Bryan Mishkin ([@bmish](https://github.com/bmish))
55+
- Patrick Pircher ([@patricklx](https://github.com/patricklx))
4456

4557

4658
## v11.12.0 (2023-12-12)

0 commit comments

Comments
 (0)