.eslintrc.js 338 B

12345678910111213141516171819
  1. var path = require('path');
  2. module.exports = {
  3. parserOptions: {
  4. sourceType: 'module',
  5. },
  6. env: {
  7. node: true,
  8. es6: true,
  9. },
  10. settings: {
  11. 'import/resolver': {
  12. webpack: {
  13. config: path.join(__dirname, '../.storybook/webpack.config.ts'),
  14. },
  15. },
  16. 'import/extensions': ['.js', '.jsx'],
  17. },
  18. };