Skip to content

Commit b87c850

Browse files
committed
feat: update npm packages
1 parent 8b949f1 commit b87c850

File tree

6 files changed

+3771
-2189
lines changed

6 files changed

+3771
-2189
lines changed

.eslintrc.js

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,25 @@
1+
require('@rushstack/eslint-patch/modern-module-resolution');
2+
3+
const path = require('node:path');
4+
const createAliasSetting = require('@vue/eslint-config-airbnb/createAliasSetting');
5+
16
module.exports = {
27
root: true,
38
env: {
49
node: true,
510
},
611
extends: [
7-
'plugin:vue/essential',
8-
'@vue/airbnb',
12+
'plugin:vue/strongly-recommended',
13+
'@vue/eslint-config-airbnb',
914
],
1015
parserOptions: {
1116
parser: '@babel/eslint-parser',
1217
},
18+
settings: {
19+
...createAliasSetting({
20+
'@': `${path.resolve(__dirname, './src')}`,
21+
}),
22+
},
1323
rules: {
1424
'no-console': process.env.NODE_ENV === 'production' ? 'warn' : 'off',
1525
'no-debugger': process.env.NODE_ENV === 'production' ? 'warn' : 'off',

0 commit comments

Comments
 (0)