File tree Expand file tree Collapse file tree 2 files changed +19
-0
lines changed
Expand file tree Collapse file tree 2 files changed +19
-0
lines changed Original file line number Diff line number Diff line change 3232 "buffer" : false
3333 },
3434 "devDependencies" : {
35+ "eslint-plugin-es5" : " ^1.4.1" ,
3536 "mocha" : " ^6.1.4" ,
3637 "standardx" : " ^4.0.0"
3738 },
3839 "eslintConfig" : {
40+ "plugins" : [
41+ " es5"
42+ ],
43+ "extends" : [
44+ " plugin:es5/no-es2015"
45+ ],
46+ "parserOptions" : {
47+ "ecmaVersion" : 2015
48+ },
49+ "env" : {
50+ "es6" : false
51+ },
3952 "rules" : {
53+ "es5/no-es6-static-methods" : [" error" , { "exceptMethods" : [" Math.imul" ] }],
4054 "semi" : [
4155 2 ,
4256 " always"
Original file line number Diff line number Diff line change @@ -344,6 +344,11 @@ eslint-module-utils@^2.4.0:
344344 debug "^2.6.8"
345345 pkg-dir "^2.0.0"
346346
347+ eslint-plugin-es5@^1.4.1 :
348+ version "1.4.1"
349+ resolved "https://registry.yarnpkg.com/eslint-plugin-es5/-/eslint-plugin-es5-1.4.1.tgz#258fe89bc5f72fbd9f5f7936c840151766821f1e"
350+ integrity sha512-kktkmkF2O7pnSZYgrMiYMbt3wCKRIiXePwILv8USDG95YgP0PzhIxSIROLLKmiQQ/Z6LuhDGWTHK04gnbXBvkg==
351+
347352eslint-plugin-es@^1.4.0 :
348353 version "1.4.0"
349354 resolved "https://registry.yarnpkg.com/eslint-plugin-es/-/eslint-plugin-es-1.4.0.tgz#475f65bb20c993fc10e8c8fe77d1d60068072da6"
You can’t perform that action at this time.
0 commit comments