Browse Source

Revert "dropped parserOptions.project array from pioneer/.eslintrc.js"

This reverts commit 49daa93cc2c3e735aa5859835a999254c667741d.
Mokhtar Naamani 4 years ago
parent
commit
7e97ac9cff
2 changed files with 9 additions and 0 deletions
  1. 6 0
      pioneer/.eslintrc.js
  2. 3 0
      tsconfig.json

+ 6 - 0
pioneer/.eslintrc.js

@@ -3,6 +3,12 @@ const base = require('@polkadot/dev-react/config/eslint');
 // add override for any (a metric ton of them, initial conversion)
 module.exports = {
   ...base,
+  parserOptions: {
+    ...base.parserOptions,
+    project: [
+      './tsconfig.json'
+    ]
+  },
   rules: {
     ...base.rules,
     '@typescript-eslint/no-explicit-any': 'off',

+ 3 - 0
tsconfig.json

@@ -0,0 +1,3 @@
+{
+
+}