Skip to content

Commit

Permalink
chore: update configs to ESM for prettier, lint staged, stylelint
Browse files Browse the repository at this point in the history
  • Loading branch information
MatthewPattell committed Dec 15, 2023
1 parent 9e6729c commit bf3c25e
Show file tree
Hide file tree
Showing 7 changed files with 167 additions and 337 deletions.
2 changes: 1 addition & 1 deletion .lintstagedrc.cjs → .lintstagedrc.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module.exports = {
export default {
'*.{ts,tsx}': [
'eslint --max-warnings=0',
'prettier --write',
Expand Down
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
18.13.0
18.19.0
3 changes: 0 additions & 3 deletions .prettierrc.cjs

This file was deleted.

5 changes: 5 additions & 0 deletions .prettierrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
import config from '@lomray/prettier-config';

export default {
...config,
};
2 changes: 1 addition & 1 deletion .stylelintrc.cjs → .stylelintrc.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module.exports = {
export default {
extends: ['@lomray/stylelint-config'],
}
Loading

0 comments on commit bf3c25e

Please sign in to comment.