chore: use eslint-config-oss

This commit is contained in:
Paul Marbach
2020-04-03 11:50:49 -04:00
parent db79d0f387
commit 32072ad429
4 changed files with 19 additions and 57 deletions
+4 -13
View File
@@ -1,15 +1,6 @@
const path = require('path');
const base = require('@backstage/cli/config/eslint');
module.exports = {
...base,
rules: {
...base.rules,
'notice/notice': [
'error',
{
templateFile: path.resolve(__dirname, 'scripts/copyright.js'),
},
],
},
extends: [
require.resolve('@backstage/cli/config/eslint.js'),
'@spotify/eslint-config-oss',
],
};