We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ddfa5e6 commit 71830feCopy full SHA for 71830fe
.eslintrc.js
@@ -1,8 +1,7 @@
1
+/* eslint-env node */
2
module.exports = {
3
'env': {
- 'browser': true,
4
'es2022': true,
5
- 'node': true,
6
},
7
'extends': 'eslint:recommended',
8
'globals': {
@@ -34,5 +33,19 @@ module.exports = {
34
33
35
],
36
'no-inner-declarations': 'off',
37
- }
+ },
+ 'overrides': [{
38
+ 'files': [
39
+ 'content_scripts/**/*.js',
40
+ 'tools/**/*.js',
41
+ ],
42
+ 'env': {
43
+ 'browser': true,
44
+ }
45
+ }, {
46
+ 'files': ['interfaces/**/*.js'],
47
48
+ 'node': true,
49
50
+ }],
51
};
0 commit comments