diff --git a/.eslintrc.js b/.eslintrc.js index f7e27ff..11f5436 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -1,24 +1,29 @@ module.exports = { - parser: '@typescript-eslint/parser', - parserOptions: { - ecmaVersion: 12, - sourceType: "module", // Allows for the use of imports - }, - env: { - browser: true, - es2021: true, - }, - extends: [ - 'airbnb-base', - 'plugin:@typescript-eslint/eslint-recommended', - 'plugin:@typescript-eslint/recommended', - // Enables eslint-plugin-prettier and eslint-config-prettier. This will display prettier errors as ESLint errors. Make sure this is always the last configuration in the extends array. - "plugin:prettier/recommended" - ], - plugins: [ - '@typescript-eslint', - 'prettier' - ], - rules: { - }, + parser: '@typescript-eslint/parser', + parserOptions: { + ecmaVersion: 12, + sourceType: 'module', // Allows for the use of imports + }, + env: { + browser: true, + es2021: true, + }, + extends: [ + 'airbnb-base', + 'plugin:@typescript-eslint/eslint-recommended', + 'plugin:@typescript-eslint/recommended', + // Enables eslint-plugin-prettier and eslint-config-prettier. This will display prettier errors as ESLint errors. Make sure this is always the last configuration in the extends array. + 'plugin:prettier/recommended', + ], + plugins: ['@typescript-eslint', 'prettier'], + rules: {}, + settings: { + // 'import/resolver': { + // browser: { + // extensions: ['.js', '.js', '.ts', '.ts', '.css', '.elm'], + // paths: ['src'], + // }, + // }, + 'import/extensions': ['.js', '.ts'], + }, };