Skip to content

Commit

Permalink
Use new shared Configs
Browse files Browse the repository at this point in the history
I'm realizing that this repo might need another update to its templates, will include that in a separate PR
  • Loading branch information
GZolla committed Nov 27, 2024
1 parent 841c4c2 commit b76a9cc
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 8 deletions.
2 changes: 0 additions & 2 deletions .eslintignore

This file was deleted.

3 changes: 0 additions & 3 deletions .eslintrc.json

This file was deleted.

8 changes: 8 additions & 0 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
import { nodeConfig } from 'eslint-config-brightspace';

export default [
{
ignores: ['dist', 'src/generators/*/templates/**/*']
},
...nodeConfig
];
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
},
"scripts": {
"build": "rimraf dist && babel src --out-dir dist --copy-files --include-dotfiles",
"lint:eslint": "eslint . --ext .js,.html",
"lint:eslint": "eslint .",
"test": "npm run lint:eslint"
},
"files": [
Expand All @@ -30,7 +30,7 @@
"@babel/preset-env": "^7",
"babel-eslint": "^10",
"babel-plugin-transform-dynamic-import": "^2",
"eslint": "^8",
"eslint": "^9",
"eslint-config-brightspace": "^2",
"rimraf": "^6.0.1"
}
Expand Down
1 change: 0 additions & 1 deletion src/create.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
#!/usr/bin/env node

/* eslint-disable no-console */
import prompts from 'prompts';
import { run as setupDefaultContent } from './generators/default-content/index.js';
import { run as setupDemo } from './generators/demo/index.js';
Expand Down

0 comments on commit b76a9cc

Please sign in to comment.