diff --git a/.eslintrc.js b/.eslintrc.js index 3cf642e9..b48ec11c 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -42,7 +42,7 @@ module.exports = { extends: ['plugin:jsdoc/recommended'], }, ], - ignorePatterns: ['dist', 'build', 'demo-react'], + ignorePatterns: ['dist', 'build'], settings: { jsdoc: { tagNamePreference: { diff --git a/demo-react/.eslintrc b/demo-react/.eslintrc new file mode 100644 index 00000000..2e700580 --- /dev/null +++ b/demo-react/.eslintrc @@ -0,0 +1,20 @@ +{ + "env": { + "es6": true, + "node": true, + "browser": true + }, + "parser": "@typescript-eslint/parser", + "parserOptions": { + "sourceType": "module" + }, + "plugins": ["import"], + "overrides": [ + { + "files": ["**/*.{ts,tsx}"], + "rules": { + "import/extensions": ["off"] + } + } + ] +} diff --git a/demo-react/.eslintrc.js b/demo-react/.eslintrc.js deleted file mode 100644 index 52aecaab..00000000 --- a/demo-react/.eslintrc.js +++ /dev/null @@ -1,20 +0,0 @@ -module.exports = { - env: { - es6: true, - node: true, - browser: true, - }, - parser: '@typescript-eslint/parser', - parserOptions: { - sourceType: 'module', - }, - plugins: ['import'], - overrides: [ - { - files: ['**/*.{ts,tsx}'], - rules: { - 'import/extensions': ['off'], - }, - }, - ], -};