Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade linting tools (ESLint, Prettier) #180

Merged
merged 2 commits into from
Mar 14, 2022
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
chore: update eslint + apply prettier
  • Loading branch information
jledentu committed Mar 14, 2022
commit 8f888edc7dd15068f9671c90f3aa8979ceded85c
8 changes: 4 additions & 4 deletions jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@ module.exports = {
rootDir: path.resolve(__dirname, "./"),
moduleFileExtensions: ["js", "json", "vue"],
moduleNameMapper: {
"^@/(.*)$": "<rootDir>/src/$1"
"^@/(.*)$": "<rootDir>/src/$1",
},
transform: {
".*\\.js$": require.resolve("babel-jest"),
".*\\.vue$": require.resolve("vue-jest")
".*\\.vue$": require.resolve("vue-jest"),
},
transformIgnorePatterns: ["/node_modules/(?!lodash-es)/"],
snapshotSerializers: [require.resolve("jest-serializer-vue")],
Expand All @@ -18,7 +18,7 @@ module.exports = {
"src/**/*.{js,vue}",
"!src/index.js",
"!src/index.umd.js",
"!**/node_modules/**"
"!**/node_modules/**",
],
testEnvironment: "jsdom"
testEnvironment: "jsdom",
};
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -83,14 +83,14 @@
"css-loader": "^3.4.2",
"cz-conventional-changelog": "^3.1.0",
"dot": "^1.1.3",
"eslint": "^8.9.0",
"eslint-config-prettier": "^8.4.0",
"eslint": "^8.11.0",
"eslint-config-prettier": "^8.5.0",
"eslint-import-resolver-webpack": "^0.13.2",
"eslint-plugin-html": "^6.2.0",
"eslint-plugin-import": "^2.25.4",
"eslint-plugin-jest": "^26.1.1",
"eslint-plugin-prettier": "^4.0.0",
"eslint-plugin-vue": "^8.4.1",
"eslint-plugin-vue": "^8.5.0",
"husky": "^4.2.3",
"jest": "^27.5.1",
"jest-serializer-html": "^7.1.0",
Expand Down
Loading