Skip to content

Commit

Permalink
eslint enforce single quotes (#58)
Browse files Browse the repository at this point in the history
  • Loading branch information
kubikowski authored Nov 5, 2022
1 parent df10489 commit f77748b
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 6 deletions.
8 changes: 8 additions & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,10 @@
"tab"
],
"max-len": "off",
"quotes": [
"error",
"single"
],
"semi": "error"
}
},
Expand Down Expand Up @@ -290,6 +294,10 @@
],
"max-len": "off",
"no-shadow": "off",
"quotes": [
"error",
"single"
],
"semi": "error"
}
}
Expand Down
12 changes: 6 additions & 6 deletions jest.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ export default {
// ],

// Indicates which provider should be used to instrument code for coverage
coverageProvider: "v8",
coverageProvider: 'v8',

// A list of reporter names that Jest uses when writing coverage reports
// coverageReporters: [
Expand Down Expand Up @@ -87,8 +87,8 @@ export default {

// An array of directory names to be searched recursively up from the requiring module's location
moduleDirectories: [
"node_modules",
"src",
'node_modules',
'src',
],

// An array of file extensions your modules use
Expand Down Expand Up @@ -141,7 +141,7 @@ export default {

// A list of paths to directories that Jest should use to search for files in
roots: [
"test",
'test',
],

// Allows you to use a custom runner instead of Jest's default test runner
Expand Down Expand Up @@ -170,8 +170,8 @@ export default {

// The glob patterns Jest uses to detect test files
testMatch: [
"**/?(*.)function!(.scale).test.ts",
"**/scale.test.ts",
'**/?(*.)function!(.scale).test.ts',
'**/scale.test.ts',
],

// An array of regexp pattern strings that are matched against all test paths, matched tests are skipped
Expand Down

0 comments on commit f77748b

Please sign in to comment.