Skip to content
This repository has been archived by the owner on Aug 16, 2024. It is now read-only.

Commit

Permalink
chore(deps): upgrade
Browse files Browse the repository at this point in the history
  • Loading branch information
MathRobin committed May 17, 2024
1 parent 3c2496b commit eeee368
Show file tree
Hide file tree
Showing 9 changed files with 530 additions and 504 deletions.
20 changes: 0 additions & 20 deletions .eslintrc.yml

This file was deleted.

49 changes: 49 additions & 0 deletions .idea/codeStyles/Project.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 5 additions & 0 deletions .idea/codeStyles/codeStyleConfig.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

593 changes: 297 additions & 296 deletions .yarn/releases/yarn-4.1.1.cjs → .yarn/releases/yarn-4.2.2.cjs

Large diffs are not rendered by default.

4 changes: 3 additions & 1 deletion .yarnrc.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
defaultSemverRangePrefix: ''

enableGlobalCache: true

nmMode: classic

nodeLinker: node-modules

yarnPath: .yarn/releases/yarn-4.1.1.cjs
yarnPath: .yarn/releases/yarn-4.2.2.cjs
40 changes: 40 additions & 0 deletions eslint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
import babelParser from '@babel/eslint-parser';
import js from '@eslint/js';
import eslintPrettier from 'eslint-config-prettier';
import jest from 'eslint-plugin-jest';
import globals from 'globals';

export default [
{ ignores: ['.idea/*', '.yarn/*', 'node_modules/*', 'coverage/*'] },
js.configs.recommended,
eslintPrettier,
{
files: ['**/*.js'],
linterOptions: {
noInlineConfig: true,
},
languageOptions: {
parser: babelParser,
ecmaVersion: 2023,
sourceType: 'module',
globals: {
...globals.node,
},
parserOptions: {
requireConfigFile: false,
babelOptions: {
plugins: ['@babel/plugin-syntax-import-assertions'],
},
},
},
},
{
files: ['**/*.test.js'],
plugins: { jest },
languageOptions: {
globals: {
...globals.jest,
},
},
},
];
9 changes: 5 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,12 @@
"main": "index.js",
"author": "MathRobin <mthrobin@gmail.com>",
"license": "MIT",
"packageManager": "yarn@4.1.1",
"packageManager": "yarn@4.2.2",
"domains": [],
"scripts": {
"commit": "cz",
"jest": "jest --coverage",
"lint": "eslint . --ext .json,.js",
"lint": "eslint -c eslint.config.js",
"prepare": "husky install",
"prettier": "prettier --check ./",
"prettier:write": "prettier --write ./",
Expand Down Expand Up @@ -48,10 +48,11 @@
"@types/jest": "29.5.12",
"commitizen": "4.3.0",
"cz-conventional-changelog": "3.3.0",
"eslint": "8.57.0",
"eslint": "9.2.0",
"eslint-config-prettier": "9.1.0",
"eslint-plugin-jest": "27.9.0",
"eslint-plugin-jest": "28.5.0",
"eslint-plugin-json": "3.1.0",
"globals": "15.2.0",
"husky": "9.0.11",
"jest": "29.7.0",
"lint-staged": "15.2.2",
Expand Down
2 changes: 1 addition & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ or Yarn
## Usage

```javascript
import {parse} from 'numero-securitesociale';
import { parse } from 'numero-securitesociale';

parse(269054958815780);
/**
Expand Down
Loading

0 comments on commit eeee368

Please sign in to comment.