diff --git a/.eslintrc.js b/.eslintrc.js index 675a834efb..4e6bbd3910 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -18,7 +18,7 @@ var path = require('path'); module.exports = { root: true, - plugins: ['notice', 'testing-library'], + plugins: ['@spotify', 'notice', 'react', 'testing-library'], rules: { 'notice/notice': [ 'error', @@ -45,6 +45,12 @@ module.exports = { "CallExpression[arguments.length=0] > MemberExpression[property.name='toUpperCase']", }, ], + 'react/forbid-elements': [ + 1, + { + forbid: [{ element: 'button', message: 'use MUI