Skip to content

Commit cf8508b

Browse files
Double quote
1 parent fe65990 commit cf8508b

17 files changed

+788
-788
lines changed

.eslintrc.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,12 @@ module.exports = {
33
env: {
44
node: true,
55
},
6-
extends: ['plugin:vue/essential', '@vue/prettier'],
6+
extends: ["plugin:vue/essential", "@vue/prettier"],
77
rules: {
8-
'no-console': process.env.NODE_ENV === 'production' ? 'error' : 'off',
9-
'no-debugger': process.env.NODE_ENV === 'production' ? 'error' : 'off',
8+
"no-console": process.env.NODE_ENV === "production" ? "error" : "off",
9+
"no-debugger": process.env.NODE_ENV === "production" ? "error" : "off",
1010
},
1111
parserOptions: {
12-
parser: 'babel-eslint',
12+
parser: "babel-eslint",
1313
},
1414
};

.prettierrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"semi": true,
3-
"singleQuote": true,
3+
"singleQuote": false,
44
"trailingComma":"all",
55
"printWidth": 150,
66
"bracketSpacing": true,

babel.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
module.exports = {
2-
presets: ['@vue/cli-plugin-babel/preset'],
2+
presets: ["@vue/cli-plugin-babel/preset"],
33
};

jest.config.js

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
11
module.exports = {
2-
moduleFileExtensions: ['js', 'jsx', 'json', 'vue'],
2+
moduleFileExtensions: ["js", "jsx", "json", "vue"],
33
transform: {
4-
'^.+\\.vue$': 'vue-jest',
5-
'.+\\.(css|styl|less|sass|scss|svg|png|jpg|ttf|woff|woff2)$': 'jest-transform-stub',
6-
'^.+\\.jsx?$': 'babel-jest',
4+
"^.+\\.vue$": "vue-jest",
5+
".+\\.(css|styl|less|sass|scss|svg|png|jpg|ttf|woff|woff2)$": "jest-transform-stub",
6+
"^.+\\.jsx?$": "babel-jest",
77
},
8-
transformIgnorePatterns: ['/node_modules/'],
8+
transformIgnorePatterns: ["/node_modules/"],
99
moduleNameMapper: {
10-
'^@/(.*)$': '<rootDir>/src/$1',
11-
'^plotly.js$': '<rootDir>/tests/mocks/plotly.js',
10+
"^@/(.*)$": "<rootDir>/src/$1",
11+
"^plotly.js$": "<rootDir>/tests/mocks/plotly.js",
1212
},
13-
snapshotSerializers: ['jest-serializer-vue'],
14-
testMatch: ['**/tests/unit/**/*.spec.(js|jsx|ts|tsx)|**/__tests__/*.(js|jsx|ts|tsx)'],
15-
collectCoverageFrom: ['<rootDir>/src/**/*.*'],
16-
testURL: 'http://localhost/',
17-
setupFiles: ['jest-canvas-mock', '<rootDir>/tests/helpers/mockUrl.js'],
13+
snapshotSerializers: ["jest-serializer-vue"],
14+
testMatch: ["**/tests/unit/**/*.spec.(js|jsx|ts|tsx)|**/__tests__/*.(js|jsx|ts|tsx)"],
15+
collectCoverageFrom: ["<rootDir>/src/**/*.*"],
16+
testURL: "http://localhost/",
17+
setupFiles: ["jest-canvas-mock", "<rootDir>/tests/helpers/mockUrl.js"],
1818
};

0 commit comments

Comments
 (0)