PrimeIntellect/SWE-rebench-V2 huggingface dataset:
Repository: kkawakam/rustyline (rust)

Issue:
Caret key (`^`) does not work as expected in evcxr_repl in vi edit mode
I originally posted the issue in google/evcxr#239 , but it turned out to be a bug of thi scrate, rustyline.

> Caret key should jump the cursor to the first non-empty character in the current line.  But it is implemented that it instead jumps ...
```
>> abc def
       ^ here.
```
> Seems that it instead moves the cursor to the character right after the first whitespace instead.

This seems due to a wrong implementation [here](https://github.com/kkawakam/rustyline/blob/05f94b12fb94a2329d5227b10a8520a93ad4a893/src/command.rs#L52-L55):

```rust
        Cmd::Move(Movement::ViFirstPrint) => {
            s.edit_move_home()?;
            s.edit_move_to_next_word(At::Start, Word::Big, 1)?;
        }
```

In this implementation, it first jumps to the beginning of the line, and then move to the "next" word considering any consecutive sequence of non-empty characters as a word.   This is problematic only when the first character is a non-empty character; since the cursor is already at the beginning of a "word", it jumps it to the succeeding word, causing the unintuitive behavior.

I am nst sure how should I properly fix it.  `s.edit_move_to_next_word` eventually calls `LineBuffer::next_word_pos` to find the actual position to jump to.   Should I modify the signature of this method to accept an additional argument for "Inclusive/Exclusive" enum?  Or shuold I call a different method in the `Move(ViFirstPrint)` match arm?

Pull request:
Fix ViFirstPrint movement
when there is no whitespace at the beginining of line.
Fix #645

Patch:
diff --git a/src/command.rs b/src/command.rs
index c16f966..652e9f1 100644
--- a/src/command.rs
+++ b/src/command.rs
@@ -51,7 +51,9 @@ pub fn execute<H: Helper>(
         }
         Cmd::Move(Movement::ViFirstPrint) => {
             s.edit_move_home()?;
-            s.edit_move_to_next_word(At::Start, Word::Big, 1)?;
+            if s.line.starts_with(char::is_whitespace) {
+                s.edit_move_to_next_word(At::Start, Word::Big, 1)?;
+            }
         }
         Cmd::Move(Movement::BackwardChar(n)) => {
             // Move back a character.


Test patch:
diff --git a/src/test/vi_cmd.rs b/src/test/vi_cmd.rs
index be8437d..c8ff89b 100644
--- a/src/test/vi_cmd.rs
+++ b/src/test/vi_cmd.rs
@@ -58,6 +58,16 @@ fn caret() {
     );
 }
 
+#[test]
+fn caret_no_whitespace() {
+    assert_cursor(
+        EditMode::Vi,
+        ("Hi", ""),
+        &[E::ESC, E::from('^'), E::ENTER],
+        ("", "Hi"),
+    );
+}
+
 #[test]
 fn a() {
     assert_cursor(
Repository: ember-cli/ember-cli (js)

Issue:
Using import/export syntax in addon-test-support causing errors in eslint
Copy from https://github.com/ember-cli/ember-addon-output/issues/6

I've tried to create test helpers for my addon but eslint throws errors because `addon-test-support` folder uses `sourceType: 'script`. Adding `'addon-test-support/**'` to my eslintrc fixes it. 

https://github.com/ember-cli/ember-addon-output/blob/82451684f5bd92f77ccc0c02095cf2af5de647a9/.eslintrc.js#L29-L33

I can submit PR for this just let me know.

https://github.com/ember-cli/ember-cli/blob/66015518df097cf5d649c989115675805d0b573b/blueprints/app/files/.eslintrc.js#L29-L34

Error:
```
  1:1  error  Parsing error: 'import' and 'export' may appear only with 'sourceType: module'

✖ 1 problem (1 error, 0 warnings)
```

Output from `ember version --verbose && npm --version && yarn --version`:
```
ember-cli: 3.0.0
http_parser: 2.7.0
node: 8.9.1
v8: 6.1.534.47
uv: 1.15.0
zlib: 1.2.11
ares: 1.10.1-DEV
modules: 57
nghttp2: 1.25.0
openssl: 1.0.2m
icu: 59.1
unicode: 9.0
cldr: 31.0.1
tz: 2017b
os: darwin x64
5.6.0
1.3.2
```

Pull request:
Exclude addon-test-support from eslint node files
This PR adds `addon-test-support` folder to excluded files from eslint override for node files.

Fix #7652

Patch:
diff --git a/blueprints/app/files/.eslintrc.js b/blueprints/app/files/.eslintrc.js
index 31c56972c..0248fdb1f 100644
--- a/blueprints/app/files/.eslintrc.js
+++ b/blueprints/app/files/.eslintrc.js
@@ -30,7 +30,8 @@ module.exports = {
       excludedFiles: [
         'app/**',
         'addon/**',
-        'tests/dummy/app/**'
+        'tests/dummy/app/**',
+        'addon-test-support/**'
       ],<% } %>
       parserOptions: {
         sourceType: 'script',


Test patch:
diff --git a/tests/fixtures/addon/npm/.eslintrc.js b/tests/fixtures/addon/npm/.eslintrc.js
index 1dc3939be..955fe836c 100644
--- a/tests/fixtures/addon/npm/.eslintrc.js
+++ b/tests/fixtures/addon/npm/.eslintrc.js
@@ -29,7 +29,8 @@ module.exports = {
       excludedFiles: [
         'app/**',
         'addon/**',
-        'tests/dummy/app/**'
+        'tests/dummy/app/**',
+        'addon-test-support/**'
       ],
       parserOptions: {
         sourceType: 'script',
diff --git a/tests/fixtures/addon/yarn/.eslintrc.js b/tests/fixtures/addon/yarn/.eslintrc.js
index 1dc3939be..955fe836c 100644
--- a/tests/fixtures/addon/yarn/.eslintrc.js
+++ b/tests/fixtures/addon/yarn/.eslintrc.js
@@ -29,7 +29,8 @@ module.exports = {
       excludedFiles: [
         'app/**',
         'addon/**',
-        'tests/dummy/app/**'
+        'tests/dummy/app/**',
+        'addon-test-support/**'
       ],
       parserOptions: {
         sourceType: 'script',