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 3ee0da8 commit 034ffb9
Show file tree
Hide file tree
Showing 270 changed files with 4,104 additions and 6,813 deletions.
5 changes: 3 additions & 2 deletions .eslintrc
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.

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.

2 changes: 1 addition & 1 deletion admin/tool/dataprivacy/amd/build/defaultsactions.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/myrequestactions.min.js

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

0 comments on commit 034ffb9

Please sign in to comment.