Skip to content

Commit b5e52ff

Browse files
authored
change .eslintrc to .eslintrc.js (teambit#8297)
It fixes the error shown locally: ``` Oops! Something went wrong! :( ESLint: 7.32.0 Error: Cannot read config file: /Users/davidfirst/teambit/bit/e2e/.eslintrc Error: Function yaml.safeLoad is removed in js-yaml 4. Use yaml.load instead, which is now safe by default. ```
1 parent 62afe00 commit b5e52ff

File tree

2 files changed

+13
-13
lines changed

2 files changed

+13
-13
lines changed

e2e/.eslintrc

Lines changed: 0 additions & 13 deletions
This file was deleted.

e2e/.eslintrc.js

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
module.exports = {
2+
rules: {
3+
'no-unused-expressions': [0],
4+
'default-case': 'off',
5+
},
6+
env: {
7+
mocha: true,
8+
},
9+
globals: {
10+
describe: true,
11+
it: true,
12+
},
13+
};

0 commit comments

Comments
 (0)