24 lines
517 B
JavaScript
24 lines
517 B
JavaScript
// Copyright 2019-2021 @polkadot/extension authors & contributors
|
|
// SPDX-License-Identifier: Apache-2.0
|
|
|
|
const base = require('@polkadot/dev/config/eslint.cjs');
|
|
|
|
module.exports = {
|
|
...base,
|
|
ignorePatterns: [
|
|
...base.ignorePatterns,
|
|
"i18next-scanner.config.js"
|
|
],
|
|
parserOptions: {
|
|
...base.parserOptions,
|
|
project: [
|
|
'./tsconfig.eslint.json'
|
|
]
|
|
},
|
|
rules: {
|
|
...base.rules,
|
|
// this seems very broken atm, false positives
|
|
'@typescript-eslint/unbound-method': 'off'
|
|
}
|
|
};
|