ghost-portal/.eslintrc.cjs
Jaco fc4807c687
Bump API (#5371)
* Bump API

* Bumps

* Skip tests

* Bump ui

* Bump common

* eslintrc.cjs

* scanner cjs

* ignore eslintrc

* Remove unneeded sort plugin
2021-05-26 11:38:30 +02:00

32 lines
742 B
JavaScript

// Copyright 2017-2021 @polkadot/apps authors & contributors
// SPDX-License-Identifier: Apache-2.0
const base = require('@polkadot/dev/config/eslint.cjs');
// add override for any (a metric ton of them, initial conversion)
module.exports = {
...base,
ignorePatterns: [
'.eslintrc.cjs',
'.github/**',
'.vscode/**',
'.yarn/**',
'**/build/*',
'**/coverage/*',
'**/node_modules/*'
],
parserOptions: {
...base.parserOptions,
project: [
'./tsconfig.json'
]
},
rules: {
...base.rules,
// needs to be switched on at some point
'@typescript-eslint/no-explicit-any': 'off',
// this seems very broken atm, false positives
'@typescript-eslint/unbound-method': 'off'
}
};