Skip to content

Commit 7244880

Browse files
committed
build(lint): fix linting
1 parent 11025c0 commit 7244880

File tree

4 files changed

+6
-10
lines changed

4 files changed

+6
-10
lines changed

.eslintrc.js

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,7 @@ const pkg = require('./package.json');
55

66
module.exports = {
77
plugins: ['@typescript-eslint', 'prettier'],
8-
extends: [
9-
'eslint:recommended',
10-
'plugin:@typescript-eslint/recommended',
11-
'plugin:prettier/recommended',
12-
'prettier',
13-
],
8+
extends: ['eslint:recommended', 'plugin:@typescript-eslint/recommended', 'plugin:prettier/recommended', 'prettier'],
149
settings: {
1510
react: {
1611
version: pkg.devDependencies.react ? 'detect' : '99.99.99',

.prettierignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,5 @@
1010
/LICENSE
1111
/yarn.lock
1212
/.vscode
13-
*.png
13+
*.png
14+
*.tsbuildinfo

rollup.config.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ export default (options) => {
3535
banner,
3636
globals: {
3737
'chart.js': 'Chart',
38-
'chart.js/helpers': 'Chart.helpers'
38+
'chart.js/helpers': 'Chart.helpers',
3939
},
4040
};
4141

@@ -56,7 +56,7 @@ export default (options) => {
5656
// eslint-disable-next-line no-undef
5757
'process.env.NODE_ENV': JSON.stringify(process.env.NODE_ENV) || 'production',
5858
__VERSION__: JSON.stringify(pkg.version),
59-
}
59+
},
6060
}),
6161
cleanup({
6262
comments: ['some', 'ts', 'ts3s'],

tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,6 @@
3838
"excludeExternals": true,
3939
"excludePrivate": true,
4040
"includeVersion": true,
41-
"hideGenerator": true,
41+
"hideGenerator": true
4242
}
4343
}

0 commit comments

Comments
 (0)