File tree Expand file tree Collapse file tree 6 files changed +86
-28
lines changed
exercises/practice/killer-sudoku-helper Expand file tree Collapse file tree 6 files changed +86
-28
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 11/node_modules
22/bin /configlet
33/bin /configlet.exe
4- /pnpm -lock.yaml
4+ /package -lock.json
55/yarn.lock
Original file line number Diff line number Diff line change 11module . exports = {
2- presets : [ '@exercism/babel-preset-javascript' ] ,
2+ presets : [ [ '@exercism/babel-preset-javascript' , { corejs : '3.39' } ] ] ,
33 plugins : [ ] ,
44} ;
Original file line number Diff line number Diff line change 1+ // @ts -check
2+
3+ import config from '@exercism/eslint-config-javascript' ;
4+ import maintainersConfig from '@exercism/eslint-config-javascript/maintainers.mjs' ;
5+
6+ import globals from 'globals' ;
7+
8+ export default [
9+ ...config ,
10+ ...maintainersConfig ,
11+ {
12+ files : maintainersConfig [ 1 ] . files ,
13+ rules : {
14+ 'jest/expect-expect' : [ 'warn' , { assertFunctionNames : [ 'expect*' ] } ] ,
15+ } ,
16+ } ,
17+ {
18+ files : [ 'scripts/**/*.mjs' ] ,
19+ languageOptions : {
20+ globals : {
21+ ...globals . node ,
22+ } ,
23+ } ,
24+ } ,
25+ // <<inject-rules-here>>
26+ {
27+ ignores : [
28+ // # Protected or generated
29+ '/.appends/**/*' ,
30+ '/.github/**/*' ,
31+ '/.vscode/**/*' ,
32+
33+ // # Binaries
34+ '/bin/*' ,
35+
36+ // # Configuration
37+ '/config' ,
38+ '/babel.config.js' ,
39+
40+ // # Typings
41+ '/exercises/**/global.d.ts' ,
42+ '/exercises/**/env.d.ts' ,
43+ ] ,
44+ } ,
45+ ] ;
Original file line number Diff line number Diff line change 1+ module . exports = {
2+ verbose : true ,
3+ projects : [ '<rootDir>' ] ,
4+ testMatch : [
5+ '**/__tests__/**/*.[jt]s?(x)' ,
6+ '**/test/**/*.[jt]s?(x)' ,
7+ '**/?(*.)+(spec|test).[jt]s?(x)' ,
8+ ] ,
9+ testPathIgnorePatterns : [
10+ '/(?:production_)?node_modules/' ,
11+ '.d.ts$' ,
12+ '<rootDir>/test/fixtures' ,
13+ '<rootDir>/test/helpers' ,
14+ '__mocks__' ,
15+ ] ,
16+ transform : {
17+ '^.+\\.[jt]sx?$' : 'babel-jest' ,
18+ } ,
19+ moduleNameMapper : {
20+ '^(\\.\\/.+)\\.js$' : '$1' ,
21+ } ,
22+ } ;
Original file line number Diff line number Diff line change 1515 "directory" : " exercises/practice/killer-sudoku-helper"
1616 },
1717 "devDependencies" : {
18- "@babel/core" : " ^7.25.2" ,
19- "@exercism/babel-preset-javascript" : " ^0.2.1" ,
20- "@exercism/eslint-config-javascript" : " ^0.6.0" ,
21- "@types/jest" : " ^29.5.12" ,
22- "@types/node" : " ^20.12.12" ,
23- "babel-jest" : " ^29.6.4" ,
24- "core-js" : " ~3.37.1" ,
25- "eslint" : " ^8.49.0" ,
18+ "@exercism/babel-preset-javascript" : " ^0.5.1" ,
19+ "@exercism/eslint-config-javascript" : " ^0.8.1" ,
20+ "@jest/globals" : " ^29.7.0" ,
21+ "@types/node" : " ^22.10.3" ,
22+ "@types/shelljs" : " ^0.8.15" ,
23+ "babel-jest" : " ^29.7.0" ,
24+ "core-js" : " ~3.39.0" ,
25+ "diff" : " ^7.0.0" ,
26+ "eslint" : " ^9.17.0" ,
27+ "expect" : " ^29.7.0" ,
28+ "globals" : " ^15.14.0" ,
2629 "jest" : " ^29.7.0"
2730 },
2831 "dependencies" : {},
2932 "scripts" : {
30- "test" : " jest ./*" ,
31- "watch" : " jest --watch ./*" ,
32- "lint" : " eslint ."
33- }
33+ "lint" : " corepack pnpm eslint ." ,
34+ "test" : " corepack pnpm jest" ,
35+ "watch" : " corepack pnpm jest --watch" ,
36+ "format" : " corepack pnpm prettier -w ."
37+ },
38+ "packageManager" :
" [email protected] " 3439}
You can’t perform that action at this time.
0 commit comments