Skip to content

Commit

Permalink
Squash chore/add-visitors (merge-base 72c04a6, previous tip a3c417b)
Browse files Browse the repository at this point in the history
commit a3c417b
Author: maastrich <pinsaultm@gmail.com>
Date:   Wed Jun 12 20:54:32 2024 +0200

    chore: Remove console.error in AssignmentProperty method

commit 281106d
Author: maastrich <pinsaultm@gmail.com>
Date:   Wed Jun 12 20:46:56 2024 +0200

    chore: Enable decorators in parseSync options

commit b59b57a
Author: maastrich <pinsaultm@gmail.com>
Date:   Wed Jun 12 20:07:49 2024 +0200

    feat: Add missing callbacks for function properties in BaseVisitor

commit 631e4f2
Author: maastrich <pinsaultm@gmail.com>
Date:   Wed Jun 12 18:13:35 2024 +0200

    chore: Update npm dependency to latest stable version

commit 54ee886
Author: maastrich <pinsaultm@gmail.com>
Date:   Wed Jun 12 16:13:18 2024 +0200

    feat: Add missing callbacks for function properties in BaseVisitor

commit e626433
Author: maastrich <pinsaultm@gmail.com>
Date:   Wed Jun 12 16:05:10 2024 +0200

    chore: Update npm dependency to latest stable version

commit fe09515
Author: maastrich <pinsaultm@gmail.com>
Date:   Tue Jun 11 19:27:19 2024 +0200

    feat: Add missing callbacks for function properties in BaseVisitor

commit 5c21cbc
Author: maastrich <pinsaultm@gmail.com>
Date:   Tue Jun 11 17:31:16 2024 +0200

    feat: Add missing callbacks for function properties in BaseVisitor

commit e86fc0c
Author: maastrich <pinsaultm@gmail.com>
Date:   Tue Jun 11 02:28:27 2024 +0200

    feat: Implement all node walkers method

commit dab2fd8
Author: maastrich <pinsaultm@gmail.com>
Date:   Tue Jun 11 01:37:41 2024 +0200

    chore: Implement all node walkers method

commit 8f967ab
Author: Mathis Pinsault <pinsaultm@gmail.com>
Date:   Tue Jun 11 01:56:53 2024 +0200

    chore: add all node walkers method as no implemented (#3)

    * chore: add all node walkers method as no implemented

    * refactor: remove unused import in walk.ts

commit e88099c
Author: Morgan Ney <morganney@gmail.com>
Date:   Mon Jun 10 18:39:17 2024 -0500

    feat: add more nodes. (#4)

    * chore: add style preferences as lint rules.
  • Loading branch information
maastrich committed Jun 17, 2024
1 parent 41f14e2 commit 611ec1f
Show file tree
Hide file tree
Showing 9 changed files with 1,017 additions and 311 deletions.
72 changes: 36 additions & 36 deletions eslint.config.js
Original file line number Diff line number Diff line change
@@ -1,69 +1,69 @@
import eslint from '@eslint/js'
import tseslint from 'typescript-eslint'
import nodePlugin from 'eslint-plugin-n'
import eslint from "@eslint/js";
import tseslint from "typescript-eslint";
import nodePlugin from "eslint-plugin-n";

export default tseslint.config(
eslint.configs.recommended,
nodePlugin.configs['flat/recommended'],
nodePlugin.configs["flat/recommended"],
...tseslint.configs.strictTypeChecked,
{
languageOptions: {
parserOptions: {
project: './tsconfig.json',
project: "./tsconfig.meta.json",
},
},
rules: {
'no-console': 'error',
'@typescript-eslint/no-use-before-define': 'error',
'@typescript-eslint/no-duplicate-type-constituents': 'error',
'@typescript-eslint/no-unused-vars': [
'error',
"no-console": "error",
"@typescript-eslint/no-use-before-define": "error",
"@typescript-eslint/no-duplicate-type-constituents": "error",
"@typescript-eslint/no-unused-vars": [
"error",
{
argsIgnorePattern: '^_',
argsIgnorePattern: "^_",
},
],
'padding-line-between-statements': [
'error',
"padding-line-between-statements": [
"error",
{
blankLine: 'always',
prev: '*',
next: 'return',
blankLine: "always",
prev: "*",
next: "return",
},
{
blankLine: 'always',
prev: '*',
next: ['do', 'for', 'if', 'try', 'switch', 'while'],
blankLine: "always",
prev: "*",
next: ["do", "for", "if", "try", "switch", "while"],
},
{
blankLine: 'always',
prev: ['do', 'for', 'if', 'try', 'switch', 'while'],
next: '*',
blankLine: "always",
prev: ["do", "for", "if", "try", "switch", "while"],
next: "*",
},
{
blankLine: 'always',
prev: ['let', 'const'],
next: '*',
blankLine: "always",
prev: ["let", "const"],
next: "*",
},
{
blankLine: 'never',
prev: ['let', 'const'],
next: ['let', 'const'],
blankLine: "never",
prev: ["let", "const"],
next: ["let", "const"],
},
{
blankLine: 'any',
prev: 'cjs-import',
next: ['cjs-import', '*'],
blankLine: "any",
prev: "cjs-import",
next: ["cjs-import", "*"],
},
],
},
},
{
files: ['test/*'],
files: ["test/*"],
rules: {
'@typescript-eslint/no-floating-promises': 'off',
"@typescript-eslint/no-floating-promises": "off",
},
},
{
ignores: ['dist', 'coverage', 'eslint.config.js'],
},
)
ignores: ["dist", "coverage", "eslint.config.js"],
}
);
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,15 +30,15 @@
"./package.json": "./package.json"
},
"engines": {
"node": ">=20.0.0"
"node": ">=20.2.0"
},
"engineStrict": true,
"scripts": {
"prettier": "prettier -w .",
"lint": "eslint .",
"lint:fix": "eslint --fix .",
"build": "duel --dirs",
"test": "c8 --reporter=text --reporter=text-summary --reporter=lcov tsx --test --test-reporter=spec test/*.ts",
"test": "c8 --reporter=text --reporter=text-summary --reporter=lcov tsx --test --test-reporter=spec test/*.test.ts",
"prepack": "npm run build"
},
"files": [
Expand Down
Loading

0 comments on commit 611ec1f

Please sign in to comment.