Skip to content

Commit

Permalink
Replace prettier-eslint-plugin with prettier-eslint-config
Browse files Browse the repository at this point in the history
  • Loading branch information
joshuajaco committed Nov 19, 2023
1 parent e17df68 commit 739f3c8
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 494 deletions.
6 changes: 4 additions & 2 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,18 +1,21 @@
"use strict";

module.exports = {
root: true,
reportUnusedDisableDirectives: true,
env: {
node: 1,
mocha: 1,
},
parserOptions: {
ecmaVersion: 2021,
},
plugins: ["node", "eslint-plugin", "prettier"],
plugins: ["node", "eslint-plugin"],
extends: [
"eslint:recommended",
"plugin:node/recommended",
"plugin:eslint-plugin/all",
"prettier",
],
rules: {
"arrow-body-style": "error",
Expand All @@ -31,6 +34,5 @@ module.exports = {
"https://github.com/joshuajaco/eslint-plugin-workspaces/blob/main/docs/rules/{{name}}.md",
},
],
"prettier/prettier": "error",
},
};
1 change: 1 addition & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ jobs:
node-version: ${{ matrix.node-version }}
cache: "npm"
- run: npm ci
- run: npm run format:check
- run: npm run lint
- run: npm test
- name: Coveralls
Expand Down
Loading

0 comments on commit 739f3c8

Please sign in to comment.