Skip to content
Snippets Groups Projects
Commit 688c084d authored by Reinder Kraaij's avatar Reinder Kraaij :eye:
Browse files

eslint with babel

parent 91c66e62
No related branches found
No related tags found
1 merge request!1188TMSS-2810 "Multiple TMSS FrontEnd Unit tests Fixed"
......@@ -956,7 +956,8 @@ eslint_TMSSFrontEnd:
- cd /builds/ro/lofar/SAS/TMSS/frontend/
- mkdir eslint
- cd eslint
- npm install --save-dev eslint eslint-formatter-gitlab
- npm install --save-dev eslint eslint-formatter-gitlab @babel/eslint-parser
- cp ../tmss_webapp/.eslintrc.js .
- ls -al
- npx eslint --format gitlab ../tmss_webapp || true
- ls -al
......
......@@ -5,7 +5,8 @@ module.exports = {
},
"extends": "eslint:recommended",
"parserOptions": {
"parser": "@babel/eslint-parser",
"ecmaVersion": "latest",
"sourceType": "module"
},
"sourceType": "module",
},
}
\ No newline at end of file
This diff is collapsed.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment