Skip to content

Commit

Permalink
Merge branch 'master' into v11
Browse files Browse the repository at this point in the history
* 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)
  ...
  • Loading branch information
bmish committed Dec 12, 2023
2 parents 49b1a61 + 49f2690 commit b7f4e49
Show file tree
Hide file tree
Showing 193 changed files with 5,148 additions and 3,556 deletions.
4 changes: 4 additions & 0 deletions .eslint-doc-generatorrc.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
/** @type {import('eslint-doc-generator').GenerateOptions} */
module.exports = {
configEmoji: [
['recommended-gjs', '![gjs logo](/docs/svgs/gjs.svg)'],
['recommended-gts', '![gts logo](/docs/svgs/gts.svg)'],
],
ruleDocSectionInclude: ['Examples'],
ruleDocTitleFormat: 'prefix-name',
ruleListSplit: 'meta.docs.category',
Expand Down
6 changes: 0 additions & 6 deletions .eslintignore

This file was deleted.

200 changes: 0 additions & 200 deletions .eslintrc.js

This file was deleted.

6 changes: 2 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@ jobs:
strategy:
matrix:
os: [ ubuntu, windows ]
node-version: [14.x, 16.x, 18.x]
node-version: [18.x, 20.x, 21.x]

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

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

- run: yarn test:coverage --runInBand

- run: yarn add --dev eslint@7 && yarn test --runInBand
2 changes: 1 addition & 1 deletion .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
Expand Down
68 changes: 40 additions & 28 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,46 +1,58 @@
## v12.0.0-alpha.2 (2023-11-10)

#### :bug: Bug Fix
* [#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))
* [#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))

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


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

#### :boom: Breaking Change
* [#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))

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

#### :memo: Documentation
* [#1980](https://github.com/ember-cli/eslint-plugin-ember/pull/1980) Improve gts gjs configuration example ([@patricklx](https://github.com/patricklx))
* [#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))

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


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

#### :boom: Breaking Change
* [#1962](https://github.com/ember-cli/eslint-plugin-ember/pull/1962) Drop support for Node 14, 16, 19 ([@patricklx](https://github.com/patricklx))
* [#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))
* [#1977](https://github.com/ember-cli/eslint-plugin-ember/pull/1977) Add new `recommended` rule: `template-no-let-reference` ([@bmish](https://github.com/bmish))
* [#1967](https://github.com/ember-cli/eslint-plugin-ember/pull/1967) Drop support for ESLint 7 ([@bmish](https://github.com/bmish))
* [#1978](https://github.com/ember-cli/eslint-plugin-ember/pull/1978) Set config `ecmaVersion` to `2022` ([@bmish](https://github.com/bmish))
* [#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))

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

#### :memo: Documentation
* [#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))
* [#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))

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





























#### Committers: 2
- Bryan Mishkin ([@bmish](https://github.com/bmish))
- Patrick Pircher ([@patricklx](https://github.com/patricklx))


## v11.12.0 (2023-12-12)
Expand Down
Loading

0 comments on commit b7f4e49

Please sign in to comment.