Skip to content

Commit

Permalink
implementação do EditorConfig
Browse files Browse the repository at this point in the history
  • Loading branch information
C0ffeeL0ver committed Sep 14, 2022
1 parent 67b7c20 commit 315c19b
Show file tree
Hide file tree
Showing 2 changed files with 60 additions and 29 deletions.
31 changes: 31 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
# EditorConfig is awesome: https://EditorConfig.org

# top-most EditorConfig file
root = true

# Unix-style newlines with a newline ending every file
[*]
end_of_line = lf
insert_final_newline = true

# Matches multiple files with brace expansion notation
# Set default charset
[*.{js}]
charset = utf-8
indent_style = space
indent_size = 2

# Tab indentation (no size specified)
[Makefile]
indent_style = tab

# Indentation override for all JS under assets/phrases directory
[assets/phrases/**.json]
indent_style = space
indent_size = 2

# Matches the exact files either package.json or .travis.yml
[{package.json,.gitpod.yml,docker-compose.yaml}]
indent_style = space
indent_size = 2

58 changes: 29 additions & 29 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,30 +1,30 @@
{
"scripts": {
"start": "node index.js",
"start.dev": "nodemon -L --inspect=0.0.0.0 index.js",
"lint": "eslint .",
"test": "cross-env BABEL_ENV=test jest --passWithNoTests",
"format": "prettier --write .",
"prepare": "husky install"
},
"dependencies": {
"discord.js": "^13.8.0",
"dotenv": "^16.0.1"
},
"devDependencies": {
"@types/jest": "28.1.6",
"cross-env": "7.0.3",
"eslint": "8.20.0",
"eslint-config-airbnb": "^19.0.4",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-jsx-a11y": "^6.6.0",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-react": "^7.30.1",
"eslint-plugin-react-hooks": "^4.6.0",
"husky": "8.0.1",
"jest": "28.1.3",
"jest-cli": "28.1.3",
"prettier": "2.7.1"
}
}
"scripts": {
"start": "node index.js",
"start.dev": "nodemon -L --inspect=0.0.0.0 index.js",
"lint": "eslint .",
"test": "cross-env BABEL_ENV=test jest --passWithNoTests",
"format": "prettier --write .",
"prepare": "husky install"
},
"dependencies": {
"discord.js": "^13.8.0",
"dotenv": "^16.0.1"
},
"devDependencies": {
"@types/jest": "28.1.6",
"cross-env": "7.0.3",
"eslint": "8.20.0",
"eslint-config-airbnb": "^19.0.4",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-jsx-a11y": "^6.6.0",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-react": "^7.30.1",
"eslint-plugin-react-hooks": "^4.6.0",
"husky": "8.0.1",
"jest": "28.1.3",
"jest-cli": "28.1.3",
"prettier": "2.7.1"
}
}

0 comments on commit 315c19b

Please sign in to comment.