This repository was archived by the owner on May 29, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed
packages/eslint-config-airbnb-base/rules Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -155,9 +155,11 @@ module.exports = {
155
155
allow : [ ] ,
156
156
} ] ,
157
157
158
- // Warn if a module could be mistakenly parsed as a script by a consumer leveraging Unambiguous
159
- // JavaScript Grammar
158
+ // Warn if a module could be mistakenly parsed as a script by a consumer
159
+ // leveraging Unambiguous JavaScript Grammar
160
160
// https://github.com/benmosher/eslint-plugin-import/blob/master/docs/rules/unambiguous.md
161
+ // this should not be enabled until this proposal has at least been *presented* to TC39.
162
+ // At the moment, it's not a thing.
161
163
'import/unambiguous' : 'off' ,
162
164
163
165
// Forbid Webpack loader syntax in imports
@@ -166,6 +168,7 @@ module.exports = {
166
168
167
169
// Prevent unassigned imports
168
170
// https://github.com/benmosher/eslint-plugin-import/blob/master/docs/rules/no-unassigned-import.md
171
+ // importing for side effects is perfectly acceptable, if you need side effects.
169
172
'import/no-unassigned-import' : 'off' ,
170
173
} ,
171
174
} ;
You can’t perform that action at this time.
0 commit comments