Skip to content

Commit

Permalink
Merge branch 'renovate/thelabnyc-standards-0.x' into 'master'
Browse files Browse the repository at this point in the history
chore(deps): update dependency @thelabnyc/standards to ^0.4.0

See merge request thelabnyc/accordance!32
  • Loading branch information
crgwbr committed Nov 7, 2024
2 parents 2890783 + adfede0 commit 194ec5f
Show file tree
Hide file tree
Showing 9 changed files with 650 additions and 778 deletions.
3 changes: 0 additions & 3 deletions .eslintrc.json

This file was deleted.

2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [16.x, 18.x, 20.x]
node-version: [18.x, 20.x]
steps:
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
Expand Down
28 changes: 28 additions & 0 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
import path from "node:path";
import { fileURLToPath } from "node:url";

import { getTSConfig } from "@thelabnyc/standards/eslint.mjs";

const __filename = fileURLToPath(import.meta.url);
const __dirname = path.dirname(__filename);

export default getTSConfig({
parserOptions: {
projectService: {
allowDefaultProject: ["*.js", "*.cjs", "*.mjs"],
},
tsconfigRootDir: __dirname,
},
configs: [
{
ignores: [
".cache/**/*",
"*.js",
"*.mjs",
"**/*.js",
"**/*.mjs",
"!eslint.config.mjs",
],
},
],
});
Loading

0 comments on commit 194ec5f

Please sign in to comment.