Skip to content

Commit b20cf19

Browse files
committed
[eslint config] [base] [minor] enable import/no-amd
(per https://github.com/airbnb/javascript#modules--use-them )
1 parent 83c431d commit b20cf19

File tree

1 file changed

+1
-2
lines changed
  • packages/eslint-config-airbnb-base/rules

1 file changed

+1
-2
lines changed

packages/eslint-config-airbnb-base/rules/es6.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -127,8 +127,7 @@ module.exports = {
127127
'import/no-commonjs': 0,
128128
// disallow AMD require/define
129129
// https://github.com/benmosher/eslint-plugin-import/blob/master/docs/rules/no-amd.md
130-
// TODO: enable
131-
'import/no-amd': 0,
130+
'import/no-amd': 2,
132131
// disallow non-import statements appearing before import statements
133132
// https://github.com/benmosher/eslint-plugin-import/blob/master/docs/rules/imports-first.md
134133
// TODO: enable?

0 commit comments

Comments
 (0)