Skip to content

Commit

Permalink
fix: "use strict" should not trigger strict mode in es3. (#547)
Browse files Browse the repository at this point in the history
* fix: "use strict" should not trigger strict mode in es3.

fixes eslint/eslint#15456

* chore: add func strict
  • Loading branch information
aladdin-add committed Apr 28, 2022
1 parent e5982ef commit 6c718af
Show file tree
Hide file tree
Showing 7 changed files with 702 additions and 2 deletions.
4 changes: 2 additions & 2 deletions package.json
Expand Up @@ -31,8 +31,8 @@
},
"license": "BSD-2-Clause",
"dependencies": {
"acorn": "^8.7.0",
"acorn-jsx": "^5.3.1",
"acorn": "^8.7.1",
"acorn-jsx": "^5.3.2",
"eslint-visitor-keys": "^3.3.0"
},
"devDependencies": {
Expand Down
@@ -0,0 +1,3 @@
export default {
"message": "sourceType 'module' is not supported when ecmaVersion < 2015. Consider adding `{ ecmaVersion: 2015 }` to the parser options."
};

0 comments on commit 6c718af

Please sign in to comment.