Skip to content

Commit

Permalink
Merge pull request #1050 from aligent/feature/DO-1469_eslint_and_pret…
Browse files Browse the repository at this point in the history
…tier_setup

Eslint and prettier setup - Fixes
  • Loading branch information
krishanthisera authored May 26, 2023
2 parents 29c71e2 + b525581 commit 5a4851f
Show file tree
Hide file tree
Showing 5 changed files with 15,968 additions and 15,837 deletions.
5 changes: 4 additions & 1 deletion .eslintignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,5 @@
node_modules
dist
dist

# Lock files
package-lock.json
40 changes: 21 additions & 19 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -1,21 +1,23 @@
{
"env": {
"browser": true,
"commonjs": true,
"es2021": true
},
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/recommended",
"prettier"
],
"overrides": [],
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaVersion": "latest",
"sourceType": "module"
},

"plugins": ["@typescript-eslint"],
"rules": {}
"env": {
"browser": true,
"commonjs": true,
"es2021": true
},
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/recommended"
],
"overrides": [
],
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaVersion": "latest"
},
"plugins": [
"@typescript-eslint",
"prettier"
],
"rules": {
}
}
61 changes: 61 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
# These are some examples of commonly ignored file patterns.
# You should customize this list as applicable to your project.
# Learn more about .gitignore:
# https://www.atlassian.com/git/tutorials/saving-changes/gitignore

# Node artifact files
node_modules/
dist/

# Compiled Java class files
*.class

# Compiled Python bytecode
*.py[cod]

# Log files
*.log

# Package files
*.jar

# Maven
target/
dist/

# JetBrains IDE
.idea/

# Unit test reports
TEST*.xml

# Generated by MacOS
.DS_Store

# Generated by Windows
Thumbs.db

# Applications
*.app
*.exe
*.war

# Large media files
*.mp4
*.tiff
*.avi
*.flv
*.mov
*.wmv

!jest.config.js

# CDK asset staging directory
.cdk.staging
cdk.out

*.d.ts
*.js

# Lock files
package-lock.json
Loading

0 comments on commit 5a4851f

Please sign in to comment.