Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Option to Print Full File Paths #1

Open
wants to merge 1,322 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1322 commits
Select commit Hold shift + click to select a range
4493bd9
Implement multi formatter
scalvert Mar 3, 2022
309a1b2
Merge pull request #2407 from ember-template-lint/upgrade-fixturify
bmish Mar 4, 2022
47010c6
build(deps-dev): bump fixturify-project from 2.1.1 to 4.1.0
dependabot[bot] Mar 4, 2022
5ae9a38
Merge pull request #2402 from ember-template-lint/dependabot/npm_and_…
bmish Mar 4, 2022
b598b6e
Fix import cycles
scalvert Mar 5, 2022
93bf87e
build(deps-dev): bump eslint-config-prettier from 8.4.0 to 8.5.0
dependabot[bot] Mar 7, 2022
9e60ae1
Merge pull request #2410 from ember-template-lint/dependabot/npm_and_…
bmish Mar 7, 2022
ab1565e
Adds new rule `scope`
judithhinlung Mar 4, 2022
d917f08
Add new rule `scope`
judithhinlung Mar 7, 2022
e0f04f0
Updated use of quotes
judithhinlung Mar 7, 2022
f3ba19e
Update lib/formatters/multi.js
scalvert Mar 7, 2022
fe4a4a1
Removing unused tests
scalvert Mar 7, 2022
47acc84
Renames rule to `no-scope-outside-table-headings`
judithhinlung Mar 7, 2022
af0a133
Updated tests
judithhinlung Mar 8, 2022
f54a705
Merge pull request #2408 from ember-template-lint/multi-formatter
rwjblue Mar 8, 2022
14d6756
Release 4.3.0
scalvert Mar 8, 2022
1a55e5d
Updated references for docs
judithhinlung Mar 8, 2022
afff38b
build(deps-dev): bump eslint from 8.10.0 to 8.11.0
dependabot[bot] Mar 14, 2022
b104197
Use async `write()` instead of deprecated `writeSync()` in tests
mydea Mar 16, 2022
f709bc1
Allow dashes in `no-whitespace-within-word` rule
mydea Mar 16, 2022
06d1444
Merge pull request #2419 from mydea/fn/project-async-write
bmish Mar 16, 2022
0ed346c
Merge pull request #2415 from ember-template-lint/dependabot/npm_and_…
bmish Mar 16, 2022
41c5ebc
build(deps-dev): bump eslint-plugin-unicorn from 41.0.0 to 41.0.1
dependabot[bot] Mar 21, 2022
a5b4eae
build(deps-dev): bump @babel/parser from 7.17.3 to 7.17.8
dependabot[bot] Mar 21, 2022
4dd6ce5
build(deps-dev): bump release-it from 14.12.5 to 14.13.1
dependabot[bot] Mar 21, 2022
8047c2d
build(deps-dev): bump sort-package-json from 1.54.0 to 1.55.0
dependabot[bot] Mar 21, 2022
1f04445
fix: Fixes require-presentational-children to return correct line/col…
scalvert Mar 22, 2022
b876904
Updating snapshots
scalvert Mar 22, 2022
36b1015
Merge pull request #2430 from ember-template-lint/dependabot/npm_and_…
bmish Mar 23, 2022
278bf61
Merge pull request #2427 from ember-template-lint/dependabot/npm_and_…
bmish Mar 23, 2022
48e0847
Merge pull request #2425 from ember-template-lint/dependabot/npm_and_…
bmish Mar 23, 2022
98f390e
Merge pull request #2424 from ember-template-lint/dependabot/npm_and_…
bmish Mar 23, 2022
926b348
Merge pull request #2433 from ember-template-lint/fix-req-pres-children
scalvert Mar 23, 2022
8ed37cd
Add --no-error-on-unmatched-pattern flag
CvX Mar 24, 2022
fadc2fa
build(deps-dev): bump eslint from 8.11.0 to 8.12.0
dependabot[bot] Mar 28, 2022
877c658
build(deps): bump micromatch from 4.0.4 to 4.0.5
dependabot[bot] Mar 28, 2022
88327e1
Merge pull request #2413 from judithhinlung/scope
bmish Mar 30, 2022
6faa3cb
build(deps): bump actions/checkout from 2 to 3
dependabot[bot] Apr 1, 2022
59aa52d
build(deps-dev): bump release-it from 14.13.1 to 14.14.0
dependabot[bot] Apr 4, 2022
e7dc2ce
Updates `require-context-role` to accept `table` as a valid parent ro…
judithhinlung Apr 5, 2022
e40e4c1
Merge pull request #2440 from ember-template-lint/dependabot/npm_and_…
bmish Apr 6, 2022
00ebb0f
Merge pull request #2443 from ember-template-lint/dependabot/github_a…
bmish Apr 6, 2022
228549a
Merge pull request #2441 from ember-template-lint/dependabot/npm_and_…
bmish Apr 6, 2022
e1fe9bc
Merge pull request #2445 from ember-template-lint/dependabot/npm_and_…
bmish Apr 6, 2022
1cb3590
build(deps): bump minimist from 1.2.5 to 1.2.6
dependabot[bot] Apr 6, 2022
dcbee48
build(deps-dev): bump prettier from 2.5.1 to 2.6.2
dependabot[bot] Apr 6, 2022
b06792d
Updated list of required context roles and reference links to use wai…
judithhinlung Apr 7, 2022
709c6fa
Add new rule: `no-array-prototype-extensions`
Apr 11, 2022
6ef6448
build(deps): bump yargs from 17.3.1 to 17.4.1
dependabot[bot] Apr 11, 2022
87dc5e2
build(deps-dev): bump @babel/traverse from 7.17.3 to 7.17.9
dependabot[bot] Apr 11, 2022
ee5e7b5
build(deps-dev): bump eslint from 8.12.0 to 8.13.0
dependabot[bot] Apr 11, 2022
19cab4e
Merge pull request #2452 from ember-template-lint/dependabot/npm_and_…
bmish Apr 11, 2022
9789ae0
Merge pull request #2446 from ember-template-lint/dependabot/npm_and_…
bmish Apr 11, 2022
0d2cfba
Merge pull request #2457 from ember-template-lint/dependabot/npm_and_…
bmish Apr 11, 2022
166fe06
Merge pull request #2458 from ember-template-lint/dependabot/npm_and_…
bmish Apr 11, 2022
b935fc9
Merge pull request #2421 from mydea/fn/no-whitespace-within-word-dash
bmish Apr 11, 2022
42e87a3
build(deps-dev): bump release-it from 14.14.0 to 14.14.2
dependabot[bot] Apr 11, 2022
3caf170
Merge pull request #2460 from ember-template-lint/dependabot/npm_and_…
bmish Apr 11, 2022
37539c1
Merge branch 'master' into require-context-role-table-bug
judithhinlung Apr 11, 2022
f3153fb
Update docs/rule/no-array-prototype-extensions.md
smilland Apr 11, 2022
a8bea61
Update docs/rule/no-array-prototype-extensions.md
smilland Apr 11, 2022
5ef856b
Update docs/rule/no-array-prototype-extensions.md
smilland Apr 11, 2022
ec65bf8
Address feedbacks, remove optional chaining
Apr 11, 2022
4f0934c
Merge pull request #2454 from smilland/no-array-prop-extensions
bmish Apr 12, 2022
d15071f
Merge pull request #2435 from CvX/no-error-on-unmatched-pattern
bmish Apr 12, 2022
2d408b2
Merge pull request #2449 from judithhinlung/require-context-role-tabl…
bmish Apr 12, 2022
c77457b
Merge pull request #2456 from ember-template-lint/dependabot/npm_and_…
bmish Apr 12, 2022
1be48ef
build(deps-dev): bump fixturify-project from 4.1.0 to 4.1.2
dependabot[bot] Apr 12, 2022
f96e014
Release 4.4.0
bmish Apr 12, 2022
85d15aa
Merge pull request #2463 from ember-template-lint/dependabot/npm_and_…
bmish Apr 12, 2022
415150b
Add missing "forbids" sentence in `no-array-prototype-extensions` docs
Apr 13, 2022
a1ab32b
Removes validation of mustache statements in `no-invalid-aria-attribu…
judithhinlung Apr 13, 2022
f9aebb1
Update internal fixturify-project setup to simplify monorepo testing
rwjblue Apr 14, 2022
9eade18
fix: Fixes incorrectly invoked tests (non-awaited async)
scalvert Apr 14, 2022
f968282
Merge pull request #2472 from ember-template-lint/fix-non-awaited-async
rwjblue Apr 14, 2022
e0d7f38
feat: Search from cwd up to find config
scalvert Apr 14, 2022
f27f728
Add basic monorepo testing harness.
rwjblue Apr 14, 2022
ed345ce
Ensure pluginPath is properly resolved to a URL
rwjblue Apr 14, 2022
d501792
Merge pull request #2471 from ember-template-lint/monorepo-support
rwjblue Apr 14, 2022
714250d
Merge pull request #2466 from judithhinlung/no-invalid-aria-attribute…
bmish Apr 14, 2022
1f6b617
Fixing broken tests
scalvert Apr 14, 2022
ff763d5
Merge pull request #2469 from ember-template-lint/add-missing-sentenc…
bmish Apr 14, 2022
614af75
Merge pull request #2468 from ember-template-lint/find-up-config
rwjblue Apr 14, 2022
b1a9dbc
Add tests for monorepos with shared configuration in monorepo root
rwjblue Apr 14, 2022
10d01af
Merge pull request #2473 from ember-template-lint/shared-config-monor…
rwjblue Apr 15, 2022
6fbac2c
Use regex for no-whitespace-within-word
mydea Apr 15, 2022
c40eac7
task: Upgrade @lint-todo/utils to fix compacting
scalvert Apr 14, 2022
a6b3554
Removing unnecessary param
scalvert Apr 15, 2022
203fd0d
Merge pull request #2474 from ember-template-lint/upgrade-todo-utils
rwjblue Apr 15, 2022
ca774fe
Release 4.4.1
scalvert Apr 15, 2022
dfaa1fd
Merge pull request #2465 from mydea/fn/no-whitespace-within-word-regex
bmish Apr 16, 2022
c9b31d8
Update `require-lang-attribute` rule to validate attribute values
judithhinlung Apr 19, 2022
de5f8cc
Release 4.4.2
bmish Apr 19, 2022
88be33b
task: Adding bin-tester package for CLI tests
scalvert Mar 14, 2022
7272981
Update monorepo tests
scalvert Apr 19, 2022
10ccc6b
Update @scalvert/bin-tester with dynamic binPath support
scalvert Apr 19, 2022
de859f2
Revert removal of Node 12 support
scalvert Apr 19, 2022
91722f0
Adding Node 12 back into CI matrix
scalvert Apr 19, 2022
e3a00d0
Updating actions to ignore engines when run in Node 12
scalvert Apr 20, 2022
99b426b
Fixing ci.yml
scalvert Apr 20, 2022
a7384ed
Pulling out explicit job for Node 12
scalvert Apr 20, 2022
6e15302
Removing Node 12 from nodeX job
scalvert Apr 20, 2022
718a42b
test: Node 18
bmish Apr 20, 2022
9f920f4
Update ci.yml
scalvert Apr 20, 2022
d934041
Merge pull request #2437 from ember-template-lint/use-bin-tester
scalvert Apr 20, 2022
b943f8e
Merge branch 'master' into node-18
bmish Apr 20, 2022
54e6800
Added a config to disable values validation by default
judithhinlung Apr 20, 2022
d952cf3
Merge pull request #2480 from ember-template-lint/node-18
bmish Apr 21, 2022
bfabb5f
Updated docs and tests
judithhinlung Apr 21, 2022
67640c2
Added test for when `validateValues` defaults to `false`
judithhinlung Apr 22, 2022
dfb1192
Merge pull request #2478 from judithhinlung/require-lang-attribute-va…
bmish Apr 22, 2022
bc17dcb
Release 4.5.0
bmish Apr 22, 2022
be99f14
build(deps-dev): bump eslint from 8.13.0 to 8.14.0
dependabot[bot] Apr 25, 2022
84a97a1
Merge pull request #2484 from ember-template-lint/dependabot/npm_and_…
bmish Apr 26, 2022
26449fd
Updates `no-redundant-landmark-role` rule with an option to lint agai…
judithhinlung Apr 26, 2022
5efe3d0
Updates config variable name to `checkAllHTMLElements` and added comm…
judithhinlung Apr 27, 2022
be1629b
Merge pull request #2487 from judithhinlung/no-redundant-landmark-rol…
bmish Apr 28, 2022
a6c3fb1
Release 4.6.0
bmish Apr 28, 2022
254fd15
Add full-path CLI option and pretty printer
rtablada Apr 27, 2022
375629f
Adds new rule `require-media-caption`
judithhinlung Apr 27, 2022
fd1896e
Updated tests
judithhinlung May 3, 2022
ffea040
Updated `allowed` example in docs
judithhinlung May 4, 2022
ee268b6
build(deps-dev): bump jest from 27.5.1 to 28.1.0
dependabot[bot] May 9, 2022
eda282f
Merge pull request #2497 from judithhinlung/require-media-caption
bmish May 10, 2022
93198ac
Merge pull request #2499 from ember-template-lint/dependabot/npm_and_…
bmish May 10, 2022
336588e
Release 4.7.0
bmish May 10, 2022
ab0090b
build(deps-dev): bump eslint from 8.14.0 to 8.15.0
dependabot[bot] May 10, 2022
3f1133e
Merge pull request #2502 from ember-template-lint/dependabot/npm_and_…
bmish May 11, 2022
7d014b9
build(deps): bump ejs from 3.1.6 to 3.1.7
dependabot[bot] May 11, 2022
be43309
build(deps-dev): bump release-it from 14.14.2 to 14.14.3
dependabot[bot] May 11, 2022
a0d798d
Merge pull request #2493 from ember-template-lint/dependabot/npm_and_…
scalvert May 11, 2022
2584a90
Merge pull request #2490 from ember-template-lint/dependabot/npm_and_…
scalvert May 11, 2022
66cc9e9
build(deps-dev): bump eslint-plugin-import from 2.25.4 to 2.26.0
dependabot[bot] May 11, 2022
1f87342
Merge pull request #2459 from ember-template-lint/dependabot/npm_and_…
bmish May 12, 2022
6276a28
fix: Fixes CI OOM issues in Windows for Node 18
scalvert May 12, 2022
c5299ee
Merge pull request #2505 from ember-template-lint/fix-node-18
scalvert May 12, 2022
9dca5a3
task: Converts to using npm over yarn 1
scalvert May 12, 2022
71ab3bc
Updating ci to use npm
scalvert May 12, 2022
adc3582
Use npm ci
scalvert May 12, 2022
71cd012
Adding .npmrc to enforce engine versions
scalvert May 12, 2022
2cdf26b
Adding back floating deps test config
scalvert May 12, 2022
1b248b9
Fixing param passing in scropts
scalvert May 12, 2022
01746e1
Merge pull request #2506 from ember-template-lint/yarn-to-npm
scalvert May 12, 2022
f6f9b6b
fix: Fixes issue where lint-todos add blank lines in .lint-todo stora…
scalvert May 11, 2022
2f21195
Updating package-lock.json
scalvert May 12, 2022
14486b9
Merge pull request #2503 from ember-template-lint/upgrade-lint-todo
scalvert May 12, 2022
b5d6ff1
Add new rule `no-aria-unsupported-elements`
thegilby May 13, 2022
b8b69f5
Address PR feedback
thegilby May 13, 2022
4aa3062
Merge pull request #2507 from thegilby/ghernand/no-aria-unsupported-e…
bmish May 13, 2022
850e181
Release 4.8.0
bmish May 13, 2022
6b86370
require yargs@^17.5.1
jamescdavis May 16, 2022
e2893c4
Merge pull request #2509 from jamescdavis/bump_yargs_to_fix_version
bmish May 16, 2022
acbeee2
Merge pull request #2511 from judithhinlung/no-unsupported-role-attri…
judithhinlung May 19, 2022
ba97a87
Release 4.9.0
bmish May 19, 2022
af0e010
Prevent `no-unsupported-role-attributes` rule from failing if the ele…
May 19, 2022
dc32c85
Release 4.9.1
bmish May 19, 2022
89650f3
build(deps-dev): bump eslint from 8.15.0 to 8.16.0 (#2518)
dependabot[bot] May 26, 2022
5a4021f
Add new rule `require-mandatory-role-attributes` (#2523)
judithhinlung May 26, 2022
26b4096
Release 4.10.0
bmish May 26, 2022
a32cba2
Add route action name to error message in `no-route-action` rule (#2527)
tylerbecks Jun 8, 2022
e071796
Add `no-action` rule migration example (#2533)
angelayanpan Jun 13, 2022
0bb8130
build(deps): bump globby from 13.1.1 to 13.1.2 (#2529)
dependabot[bot] Jun 16, 2022
723ce7f
build(deps-dev): bump jest from 28.1.0 to 28.1.1 (#2531)
dependabot[bot] Jun 16, 2022
c776fd8
build(deps-dev): bump @babel/traverse from 7.17.10 to 7.18.5 (#2530)
dependabot[bot] Jun 16, 2022
b9390ed
build(deps-dev): bump npm-package-json-lint from 5.4.2 to 6.3.0
dependabot[bot] Jun 16, 2022
5925e22
Clarify violation message for `no-dynamic-subexpression-invocations` …
chrisrng Jun 16, 2022
7e27cfa
build(deps-dev): bump eslint from 8.16.0 to 8.17.0 (#2528)
dependabot[bot] Jun 16, 2022
e525a3f
build(deps-dev): bump @babel/eslint-parser from 7.17.0 to 7.18.2 (#2524)
dependabot[bot] Jun 16, 2022
975ddc5
build(deps-dev): bump eslint-plugin-unicorn from 41.0.1 to 42.0.0 (#2…
dependabot[bot] Jun 16, 2022
e6bab90
build(deps): Bump resolve from 1.22.0 to 1.22.1
dependabot[bot] Jun 20, 2022
7654343
Merge pull request #2538 from ember-template-lint/dependabot/npm_and_…
scalvert Jun 23, 2022
994e490
Merge pull request #2428 from ember-template-lint/dependabot/npm_and_…
scalvert Jun 24, 2022
b58bb7a
build(deps-dev): Bump prettier from 2.6.2 to 2.7.1 (#2537)
dependabot[bot] Jun 25, 2022
c1a580a
Fix table-groups rule documentation (#2540)
nulle Jun 25, 2022
704058e
Fix dasherizing multi-level nested component names (#2541)
nulle Jun 26, 2022
852ba55
build(deps): Bump ci-info from 3.3.1 to 3.3.2 (#2539)
dependabot[bot] Jun 26, 2022
2e456ad
build(deps-dev): Bump eslint from 8.17.0 to 8.18.0 (#2536)
dependabot[bot] Jun 26, 2022
d95cc14
Release 4.10.1
bmish Jun 26, 2022
761c89c
build(deps-dev): Bump markdownlint-cli from 0.31.1 to 0.32.0 (#2555)
dependabot[bot] Jul 21, 2022
7945ea4
build(deps-dev): Bump @babel/parser from 7.18.5 to 7.18.8 (#2552)
dependabot[bot] Jul 21, 2022
02a2eae
build(deps-dev): Bump eslint-plugin-prettier from 4.0.0 to 4.2.1 (#2544)
dependabot[bot] Jul 21, 2022
46e28e4
build(deps-dev): Bump @babel/parser from 7.18.8 to 7.18.9 (#2558)
dependabot[bot] Jul 26, 2022
ee2b95d
build(deps-dev): Bump markdownlint-cli from 0.32.0 to 0.32.1 (#2564)
dependabot[bot] Jul 29, 2022
55b0436
build(deps): Bump parse-url from 6.0.0 to 6.0.5 (#2563)
dependabot[bot] Jul 29, 2022
c964559
build(deps-dev): Bump eslint from 8.18.0 to 8.21.0 (#2567)
dependabot[bot] Aug 3, 2022
ab8d779
build(deps-dev): Bump yeoman-generator from 5.6.1 to 5.7.0 (#2565)
dependabot[bot] Aug 3, 2022
d7cbf61
build(deps-dev): Bump jest from 28.1.1 to 28.1.3 (#2556)
dependabot[bot] Aug 3, 2022
b16ca15
build(deps): Bump date-fns from 2.28.0 to 2.29.1 (#2561)
dependabot[bot] Aug 3, 2022
3280dc2
build(deps-dev): Bump @babel/traverse from 7.18.5 to 7.18.9 (#2560)
dependabot[bot] Aug 3, 2022
ca4f3ee
build(deps-dev): Bump @babel/eslint-parser from 7.18.2 to 7.18.9 (#2562)
dependabot[bot] Aug 3, 2022
816c530
Add autofixer to `no-unnecessary-concat` rule (#2568)
locks Aug 3, 2022
567a48c
Release 4.11.0
bmish Aug 3, 2022
ce311dd
Update overrides example (#2513)
jamescdavis Aug 3, 2022
b57bd0c
Add auto-fix capability to require-valid-named-block-naming-format (#…
locks Aug 3, 2022
6ba710b
feat: add autofixer to modifier-name-case (#2573)
bmish Aug 5, 2022
b2578f9
feat: add autofixer to no-unnecessary-component-helper (#2574)
bmish Aug 5, 2022
149a280
Release 4.12.0
bmish Aug 5, 2022
03d16de
feat: add autofixer to no-quoteless-attributes rule (#2582)
locks Aug 12, 2022
4bfa2a5
build(deps-dev): Bump @babel/traverse from 7.18.9 to 7.18.11 (#2578)
dependabot[bot] Aug 12, 2022
e6569dc
build(deps-dev): Bump yeoman-environment from 3.9.1 to 3.10.0 (#2576)
dependabot[bot] Aug 12, 2022
7ba2d9f
build(deps-dev): Bump eslint from 8.21.0 to 8.22.0 (#2585)
dependabot[bot] Aug 17, 2022
13f166a
Add autofixer to `no-html-comments` rule (#2581)
locks Aug 17, 2022
1cb1518
test: remove unused parameter
bmish Aug 17, 2022
7245b82
Add autofixer to `self-closing-void-elements` rule (#2583)
locks Aug 23, 2022
829d3ed
Extract `hasParentTag` utility function (#2434)
JoaoDsv Aug 26, 2022
b352013
Add `unique-id` to allowed built-in helpers in `no-curly-component-in…
geneukum Aug 30, 2022
29d178d
Update ci.yml (#2598)
sashashura Aug 30, 2022
84f8b9a
Remove `<s>` and `<u>` from `no-obsolete-elements` (#2589)
sukima Aug 30, 2022
134542f
build(deps-dev): Bump markdownlint-cli from 0.32.1 to 0.32.2 (#2586)
dependabot[bot] Aug 30, 2022
4f3c9a3
build(deps-dev): Bump eslint from 8.22.0 to 8.23.0 (#2594)
dependabot[bot] Aug 30, 2022
48cba3b
build(deps): Bump aria-query from 5.0.0 to 5.0.2 (#2597)
dependabot[bot] Aug 30, 2022
baa1a8b
build(deps-dev): Bump @babel/parser from 7.18.11 to 7.18.13 (#2596)
dependabot[bot] Aug 30, 2022
aea5950
build(deps): Bump date-fns from 2.29.1 to 2.29.2 (#2587)
dependabot[bot] Aug 30, 2022
f0b948b
Release 4.13.0
bmish Aug 30, 2022
2ba29bd
Implement support embedded templates (#2483)
ventuno Aug 31, 2022
714a46f
Update GitHub Actions setup to volta-cli/action@v3
rwjblue Aug 31, 2022
c9730dd
Merge pull request #2602 from ember-template-lint/update-volta-action
rwjblue Sep 1, 2022
6899b63
Fix `--version` to actually give the right value
rwjblue Sep 1, 2022
10fb364
Add `concurrency` setup to GH Actions workflow.
rwjblue Sep 1, 2022
04e7885
Merge pull request #2605 from ember-template-lint/add-concurrency-to-ci
rwjblue Sep 1, 2022
723a7b5
Merge pull request #2604 from ember-template-lint/fix-version
rwjblue Sep 1, 2022
8283645
Release 4.14.0
bmish Sep 1, 2022
a693d12
chore: add eslint-plugin-jest (#2607)
bmish Sep 3, 2022
656bc97
chore: tweak jest lint config (#2611)
bmish Sep 5, 2022
8f11e0d
Add autofixer to `simple-unless` rule for simplest case (#2629)
godric3 Oct 10, 2022
7452d1f
build(deps-dev): Bump @babel/parser from 7.18.13 to 7.19.3 (#2626)
dependabot[bot] Oct 10, 2022
68763c8
build(deps): Bump vm2 from 3.9.9 to 3.9.11 (#2623)
dependabot[bot] Oct 10, 2022
5acf60a
build(deps-dev): Bump eslint from 8.23.0 to 8.24.0 (#2622)
dependabot[bot] Oct 10, 2022
211d7ce
build(deps): Bump ci-info from 3.3.2 to 3.4.0 (#2617)
dependabot[bot] Oct 10, 2022
758f907
Release 4.15.0
bmish Oct 10, 2022
c7df0a4
build(deps-dev): Bump @babel/traverse from 7.18.11 to 7.19.3 (#2627)
dependabot[bot] Oct 10, 2022
adc8941
docs: add link to RFC for no-array-prototype-extensions rule doc (#2636)
bmish Oct 12, 2022
0d11d73
Bump volta-cli/action@v4 (#2638)
ctjhoa Oct 17, 2022
a118087
Clarify default `maxHelpers` option value for `simple-unless` rule (#…
bmish Oct 17, 2022
7bb384a
Add autofix for case with helpers to `simple-unless` rule (#2639)
godric3 Oct 18, 2022
f9f174f
build(deps-dev): Bump eslint from 8.23.0 to 8.25.0 (#2632)
dependabot[bot] Oct 18, 2022
e4073b3
Release 4.16.0
bmish Oct 18, 2022
fa0c587
build(deps-dev): Bump @babel/traverse from 7.19.3 to 7.19.4 (#2646)
dependabot[bot] Oct 18, 2022
368b619
Allow negation with multiple parameters in `no-negated-condition` rul…
godric3 Oct 18, 2022
9eb0de2
build(deps-dev): Bump eslint-plugin-import-helpers from 1.2.1 to 1.3.…
dependabot[bot] Oct 18, 2022
9e99852
Release 4.16.1
bmish Oct 18, 2022
2290459
Remove eslint-plugin-import-helpers
rwjblue Oct 25, 2022
00fdbc8
Merge pull request #2659 from ember-template-lint/remove-eslint-plugi…
rwjblue Oct 27, 2022
c42b0b2
Remove usage of `cross-env`
rwjblue Oct 27, 2022
2a5c0b5
Add `--max-old-space=4096` to all CI jobs
rwjblue Oct 27, 2022
fa5fb65
Merge pull request #2661 from ember-template-lint/remove-cross-env
rwjblue Oct 27, 2022
d7b490f
Add `simplifyHelpers` option in `no-negated-condition` rule (#2653)
godric3 Oct 29, 2022
455bd73
update lockfile (#2664)
bmish Oct 29, 2022
e4a99f3
Release 4.17.0
bmish Oct 29, 2022
0575f78
Merge branch 'master' into rt/4.3-fullpath
bmish Nov 4, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
1 change: 1 addition & 0 deletions .eslintignore
@@ -1 +1,2 @@
/dev/new-rule/templates/*
/coverage
60 changes: 39 additions & 21 deletions .eslintrc.js → .eslintrc.cjs
@@ -1,25 +1,20 @@
module.exports = {
parser: '@babel/eslint-parser',
parserOptions: {
ecmaVersion: 2019,
sourceType: 'script',
ecmaVersion: 2021,
sourceType: 'module',
requireConfigFile: false,
},
env: {
node: true,
},
plugins: [
'eslint-comments',
'filenames',
'import',
'import-helpers',
'node',
'prettier',
'unicorn',
],
plugins: ['eslint-comments', 'filenames', 'import', 'node', 'prettier', 'unicorn'],
extends: [
'eslint:recommended',
'plugin:eslint-comments/recommended',
'plugin:import/errors',
'plugin:import/warnings',
'plugin:jest/recommended',
'plugin:node/recommended',
'plugin:unicorn/recommended',
'plugin:prettier/recommended',
Expand Down Expand Up @@ -82,7 +77,7 @@ module.exports = {
'filenames/match-regex': ['error', '^.?[a-z0-9-]+$'], // Kebab-case.

// Optional import rules:
'import/extensions': 'error',
'import/extensions': ['error', 'always'],
'import/first': 'error',
'import/newline-after-import': 'error',
'import/no-absolute-path': 'error',
Expand All @@ -98,16 +93,21 @@ module.exports = {
'import/no-webpack-loader-syntax': 'error',
'import/unambiguous': 'error',

'import-helpers/order-imports': [
// Jest rules:
'jest/no-conditional-expect': 'off',

// Node rules:
'node/no-unsupported-features/es-syntax': [
'error',
{
ignores: ['dynamicImport', 'modules'], // False positives: https://github.com/mysticatea/eslint-plugin-node/issues/250
},
],

'node/no-extraneous-import': [
'error',
{
newlinesBetween: 'always',
groups: [
'/^(assert|async_hooks|buffer|child_process|cluster|console|constants|crypto|dgram|dns|domain|events|fs|http|http2|https|inspector|module|net|os|path|perf_hooks|process|punycode|querystring|readline|repl|stream|string_decoder|timers|tls|trace_events|tty|url|util|v8|vm|zli)/',
['module'],
['parent', 'sibling', 'index'],
],
alphabetize: { order: 'asc', ignoreCase: true },
allowModules: ['@jest/globals'],
},
],

Expand All @@ -122,22 +122,33 @@ module.exports = {
'unicorn/no-useless-undefined': 'off',
'unicorn/prefer-ternary': 'off',
'unicorn/prevent-abbreviations': 'off',
'unicorn/text-encoding-identifier-case': 'off',
},

overrides: [
{
files: ['bin/**/*.js'],
// CJS
files: ['**/*.cjs'],
parserOptions: {
sourceType: 'script',
},
},
{
// CLI
files: ['bin/**/*.js', 'lib/helpers/cli.js'],
rules: {
'no-console': 'off',
},
},
{
// Rules
files: ['lib/rules/**/*.js'],
rules: {
'filenames/match-exported': ['error', 'kebab'],
},
},
{
// Tests
files: ['test/**/*.js'],
env: {
jest: true,
Expand All @@ -146,5 +157,12 @@ module.exports = {
'import/no-dynamic-require': 'off',
},
},
{
// Rule tests
files: ['test/unit/rules/*.js'],
rules: {
'jest/no-standalone-expect': 'off', // False positives from using: verifyResults(results) { expect(results).toMatchInlineSnapshot }
},
},
],
};
25 changes: 25 additions & 0 deletions .github/dependabot.yml
@@ -0,0 +1,25 @@
version: 2
updates:
- package-ecosystem: npm
directory: "/"
schedule:
interval: weekly
time: "04:00"
timezone: EST
open-pull-requests-limit: 10
versioning-strategy: increase
ignore:
- dependency-name: "@babel/parser"
versions:
- 7.12.15
- 7.12.17
- 7.13.13
- 7.13.15
- 7.13.16
- package-ecosystem: github-actions
directory: "/"
schedule:
interval: monthly
time: "04:00"
timezone: EST
open-pull-requests-limit: 15
95 changes: 69 additions & 26 deletions .github/workflows/ci.yml
Expand Up @@ -10,68 +10,111 @@ on:
schedule:
- cron: '0 3 * * *' # daily, at 3am

concurrency:
group: ci-${{ github.head_ref || github.ref }}
cancel-in-progress: true

permissions:
contents: read

jobs:
test:
name: Node 12.x - ubuntu
name: Node 16.x - ubuntu
runs-on: ubuntu-latest
timeout-minutes: 10
env:
NODE_OPTIONS: --max-old-space-size=4096


steps:
- uses: actions/checkout@v2
- uses: volta-cli/action@v1
- uses: actions/checkout@v3

- uses: volta-cli/action@v4

- name: install dependencies
run: yarn install --frozen-lockfile
run: npm ci

- run: yarn lint
- run: yarn test:jest
- run: yarn update:readme && git diff --exit-code
- run: npm run lint

- run: npm run test:jest

- run: npm run update && git diff --exit-code

nodeX:
name: Node ${{ matrix.node-version }} - ${{ matrix.os }}
runs-on: ${{ matrix.os }}-latest
timeout-minutes: 10

needs: [test]
timeout-minutes: 15
env:
NODE_OPTIONS: --max-old-space-size=4096

strategy:
matrix:
os: [ubuntu, windows]
node-version: [10.x, 12.x, 14.x]
node-version: [14.x, 16.x, 17.x, 18.x]

# excluded because it is the `test` job above
exclude:
- os: ubuntu
node-version: 12.x
node-version: 16.x

steps:
- uses: actions/checkout@v2
- uses: volta-cli/action@v1
- uses: actions/checkout@v3

- uses: volta-cli/action@v4
with:
node-version: ${{ matrix.node-version }}

- name: print node node-version
run: node --version
- name: install dependencies
run: npm ci

# Temporarily exclude `test/unit/get-config-test.js` in Node versions before 16 (TODO: remove eventually).
# Tests triggering `resolveProjectConfig` and thus `await import()` for config/plugin loading cause this error:
# ReferenceError: You are trying to `import` a file after the Jest environment has been torn down.
# Possibly related: https://github.com/facebook/jest/issues/11438
- run: npm run test:jest -- --testPathIgnorePatterns=test/unit/get-config-test.js --testPathIgnorePatterns=test/acceptance/public-api-test.js

node12:
name: Node 12
runs-on: ${{ matrix.os }}-latest
timeout-minutes: 15
env:
NODE_OPTIONS: --max-old-space-size=4096


strategy:
matrix:
os: [ubuntu, windows]

steps:
- uses: actions/checkout@v3

- uses: volta-cli/action@v4
with:
node-version: 12.x

- name: install dependencies
run: yarn install --frozen-lockfile --ignore-engines
# Temporary fix for Node 12 pulling in devDependencies who's engines require > 14
run: npm ci --force

- run: yarn test:jest
# Temporarily exclude `test/unit/get-config-test.js` in Node versions before 16 (TODO: remove eventually).
# Tests triggering `resolveProjectConfig` and thus `await import()` for config/plugin loading cause this error:
# ReferenceError: You are trying to `import` a file after the Jest environment has been torn down.
# Possibly related: https://github.com/facebook/jest/issues/11438
- run: npm run test:jest -- --testPathIgnorePatterns=test/unit/get-config-test.js --testPathIgnorePatterns=test/acceptance/public-api-test.js test:jest --testPathIgnorePatterns=test/unit/get-config-test.js --testPathIgnorePatterns=test/acceptance/public-api-test.js

floating-dependencies:
name: Floating Dependencies
runs-on: ubuntu-latest
timeout-minutes: 10

needs: [test]
env:
NODE_OPTIONS: --max-old-space-size=4096

steps:
- uses: actions/checkout@v2
- uses: volta-cli/action@v1
with:
node-version: 14.x
- uses: actions/checkout@v3

- uses: volta-cli/action@v4

- name: install dependencies
run: yarn install --no-lockfile
run: npm install --no-package-lock

- run: yarn test:jest
- run: npm run test:jest
1 change: 1 addition & 0 deletions .gitignore
Expand Up @@ -16,3 +16,4 @@
/libpeerconnection.log
npm-debug.log
testem.log
.vscode
14 changes: 14 additions & 0 deletions .npmpackagejsonlintrc.json
@@ -0,0 +1,14 @@
{
"rules": {
"no-duplicate-properties": "error",
"no-repeated-dependencies": "error",
"prefer-alphabetical-bundledDependencies": "error",
"prefer-alphabetical-dependencies": "error",
"prefer-alphabetical-devDependencies": "error",
"prefer-alphabetical-optionalDependencies": "error",
"prefer-alphabetical-scripts": "error",
"prefer-caret-version-dependencies": "error",
"prefer-caret-version-devDependencies": "error",
"prefer-scripts": ["error", ["lint", "test"]]
}
}
1 change: 1 addition & 0 deletions .npmrc
@@ -0,0 +1 @@
engine-strict=true
File renamed without changes.