Skip to content

Commit

Permalink
MDL-73915 js: Upgrade babel and eslint
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewnicols committed Feb 23, 2022
1 parent 4ce17e6 commit aa7f795
Show file tree
Hide file tree
Showing 390 changed files with 3,997 additions and 6,444 deletions.
5 changes: 3 additions & 2 deletions .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@
},
// We're using babel transpiling so use their parser
// for linting.
parser: 'babel-eslint',
parser: '@babel/eslint-parser',
// Check AMD with some slightly stricter rules.
rules: {
'no-unused-vars': 'error',
Expand Down Expand Up @@ -300,7 +300,8 @@
},
parserOptions: {
'ecmaVersion': 9,
'sourceType': 'module'
'sourceType': 'module',
'requireConfigFile': false,
}
}
]
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion admin/tool/componentlibrary/amd/build/lunr.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion admin/tool/componentlibrary/amd/build/lunr.min.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion admin/tool/componentlibrary/amd/build/mustache.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion admin/tool/componentlibrary/amd/build/search.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion admin/tool/dataprivacy/amd/build/data_deletion.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit aa7f795

Please sign in to comment.