mirror of
https://github.com/pezkuwichain/phishing.git
synced 2026-04-22 21:58:03 +00:00
29 lines
584 B
JavaScript
29 lines
584 B
JavaScript
// Copyright 2020-2021 @polkadot/phishing authors & contributors
|
|
// SPDX-License-Identifier: Apache-2.0
|
|
|
|
const base = require('@polkadot/dev/config/eslint.cjs');
|
|
|
|
module.exports = {
|
|
...base,
|
|
ignorePatterns: [
|
|
'.eslintrc.js',
|
|
'.github/**',
|
|
'.vscode/**',
|
|
'.yarn/**',
|
|
'**/build/*',
|
|
'**/coverage/*',
|
|
'**/node_modules/*'
|
|
],
|
|
parserOptions: {
|
|
...base.parserOptions,
|
|
project: [
|
|
'./tsconfig.json'
|
|
]
|
|
},
|
|
rules: {
|
|
...base.rules,
|
|
// this seems very broken atm, false positives
|
|
'@typescript-eslint/unbound-method': 'off'
|
|
}
|
|
};
|