Skip to content

Commit

Permalink
Update eslint config
Browse files Browse the repository at this point in the history
  • Loading branch information
queicherius committed Dec 5, 2024
1 parent b4177d7 commit f549970
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
5 changes: 5 additions & 0 deletions eslint.config.cjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
const config = require('@devoxa/eslint-config')

module.exports = config({
ignoreFiles: ['.gitignore'],
})
5 changes: 1 addition & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,10 @@
"test": "jest",
"format": "prettier --ignore-path='.gitignore' --list-different --write .",
"format:check": "prettier --ignore-path='.gitignore' --check .",
"lint": "eslint --ignore-path='.gitignore' '{src,tests}/**/*.ts'",
"lint": "eslint '{src,tests}/**/*.ts'",
"build": "rm -rf dist/ && tsc",
"preversion": "yarn build"
},
"eslintConfig": {
"extends": "@devoxa"
},
"prettier": "@devoxa/prettier-config",
"devDependencies": {
"@devoxa/eslint-config": "4.0.0",
Expand Down

0 comments on commit f549970

Please sign in to comment.