Skip to content

Commit

Permalink
chore(deps): Upgrade kkt v7 & eslint v8.
Browse files Browse the repository at this point in the history
  • Loading branch information
jaywcjlove committed Feb 9, 2022
1 parent b9bca9d commit da1bf76
Show file tree
Hide file tree
Showing 5 changed files with 31,244 additions and 16,873 deletions.
2 changes: 2 additions & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
dist
node_modules
coverage
4 changes: 3 additions & 1 deletion .eslintrc
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
{
"parser": "babel-eslint",
"extends": "airbnb",
"env": {
"browser": true,
Expand Down Expand Up @@ -61,6 +60,9 @@
"react/no-did-mount-set-state": 0
},
"parserOptions": {
"parser": "@babel/eslint-parser",
"requireConfigFile": false,
"ecmaVersion": 8,
"ecmaFeatures": {
"experimentalObjectRestSpread": true
}
Expand Down
8 changes: 4 additions & 4 deletions .kktrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,10 @@ export default (conf, env, options) => {
name: 'react-vendor',
chunks: 'all',
},
prismjs: {
test: /[\\/]node_modules[\\/](prismjs)[\\/]/,
name: 'prismjs-vendor',
chunks: 'async',
refractor: {
test: /[\\/]node_modules[\\/](refractor)[\\/]/,
name: 'refractor-vendor',
chunks: 'all',
},
},
},
Expand Down
Loading

0 comments on commit da1bf76

Please sign in to comment.