* Add unit tests for electron account management * Use tmp package in file store tests. * Enable @typescript-eslint/no-useless-constructor extension eslint rule. * Explicitly assign private field in constructor. Co-authored-by: Krzysztof Jelski <krzysztof@ethworks.io>
17 lines
333 B
JavaScript
17 lines
333 B
JavaScript
const base = require('@polkadot/dev/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',
|
|
}
|
|
};
|