Skip to content

Commit 6c718af

Browse files
authored
fix: "use strict" should not trigger strict mode in es3. (#547)
* fix: "use strict" should not trigger strict mode in es3. fixes eslint/eslint#15456 * chore: add func strict
1 parent e5982ef commit 6c718af

7 files changed

Lines changed: 702 additions & 2 deletions

File tree

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@
3131
},
3232
"license": "BSD-2-Clause",
3333
"dependencies": {
34-
"acorn": "^8.7.0",
35-
"acorn-jsx": "^5.3.1",
34+
"acorn": "^8.7.1",
35+
"acorn-jsx": "^5.3.2",
3636
"eslint-visitor-keys": "^3.3.0"
3737
},
3838
"devDependencies": {
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
export default {
2+
"message": "sourceType 'module' is not supported when ecmaVersion < 2015. Consider adding `{ ecmaVersion: 2015 }` to the parser options."
3+
};

0 commit comments

Comments
 (0)