Skip to content

Commit

Permalink
fix: linter | command
Browse files Browse the repository at this point in the history
  • Loading branch information
ccamensuli committed Jan 10, 2024
1 parent f2f486c commit 8db6e44
Show file tree
Hide file tree
Showing 35 changed files with 3,228 additions and 2,567 deletions.
3 changes: 2 additions & 1 deletion .eslintrc.cjs
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
module.exports = {
parser: '@typescript-eslint/parser',
plugins: ['@typescript-eslint'],
plugins: ['@typescript-eslint','prettier'],
extends: [
'eslint:recommended',
'plugin:@typescript-eslint/eslint-recommended',
'plugin:@typescript-eslint/recommended',
'prettier',
],
parserOptions: {
ecmaVersion: 2020,
Expand Down
224 changes: 165 additions & 59 deletions package-lock.json

Large diffs are not rendered by default.

17 changes: 10 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,9 @@
"build": " npm run rollup",
"rollup": "rollup --config rollup.config.ts --configPlugin typescript",
"start": "node ./bin/nodefony",
"test": "npm run build && run-s test:ts test:transpiled",
"test": "run-s test:ts test:transpiled",
"test:ts": "ts-mocha -p src/tests/mocha-ts/tsconfig.test.json src/tests/**/*.test.ts src/tests/*.test.ts",
"test:transpiled": " mocha dist/tests/tests/*.js dist/tests/tests/**/*.js",
"test:transpiled": "npm run build && mocha dist/tests/tests/*.js dist/tests/tests/**/*.js",
"lint": "npm run eslint-src && npm run eslint-test",
"eslint-src": "eslint --ignore-pattern 'node_modules' --ignore-pattern 'src/tests' 'src/**/*.ts'",
"eslint-types": "eslint --ignore-pattern 'node_modules' '**/*.d.ts'",
Expand Down Expand Up @@ -84,27 +84,30 @@
"@rollup/plugin-node-resolve": "15.2.3",
"@rollup/plugin-replace": "5.0.5",
"@rollup/plugin-terser": "0.4.4",
"@rollup/plugin-typescript": "11.1.5",
"@rollup/plugin-typescript": "11.1.6",
"@types/asciify": "1.3.33",
"@types/chai": "4.3.11",
"@types/cli-color": "2.0.6",
"@types/clui": "0.3.4",
"@types/lodash": "4.14.202",
"@types/mime-types": "2.1.4",
"@types/mocha": "10.0.6",
"@types/node": "20.10.7",
"@types/node": "20.10.8",
"@types/shelljs": "0.8.15",
"@types/twig": "1.12.16",
"@types/uuid": "9.0.7",
"@typescript-eslint/eslint-plugin": "6.18.0",
"@typescript-eslint/parser": "6.18.0",
"@typescript-eslint/eslint-plugin": "6.18.1",
"@typescript-eslint/parser": "6.18.1",
"chai": "4.3.10",
"eslint": "8.56.0",
"eslint-config-prettier": "9.1.0",
"eslint-plugin-prettier": "5.1.3",
"jsdom": "23.2.0",
"mkdirp": "3.0.1",
"mocha": "10.2.0",
"mocha-jsdom": "2.0.0",
"npm-run-all2": "6.1.1",
"prettier": "3.1.1",
"rimraf": "5.0.5",
"rollup": "4.9.4",
"rollup-plugin-copy": "3.5.0",
Expand All @@ -127,4 +130,4 @@
],
"author": "Christophe CAMENSULI <[email protected]>",
"readmeFilename": "README.md"
}
}
Loading

0 comments on commit 8db6e44

Please sign in to comment.