Last active
October 18, 2020 18:58
-
-
Save plasticrake/75a2275225021f461e6efb9357ef583a to your computer and use it in GitHub Desktop.
Basic Template
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
root = true | |
[*] | |
charset = utf-8 | |
insert_final_newline = true | |
trim_trailing_whitespace = true | |
end_of_line = lf | |
indent_style = space | |
indent_size = 2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module.exports = { | |
root: true, | |
parserOptions: { | |
ecmaVersion: 2018, | |
}, | |
env: { | |
browser: true, | |
}, | |
extends: ["airbnb-base", "plugin:prettier/recommended"], | |
reportUnusedDisableDirectives: true, | |
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"printWidth": 80, | |
"tabWidth": 2, | |
"semi": true, | |
"singleQuote": true, | |
"trailingComma": "es5" | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"name": "new-project", | |
"version": "0.0.0", | |
"description": "My New Project", | |
"keywords": [], | |
"scripts": { | |
"lint": "eslint --ignore-path .gitignore . --ext .js,.ts", | |
"pretest": "npm run lint", | |
"test": "npm run test:only", | |
"test:only": "mocha" | |
}, | |
"dependencies": {}, | |
"devDependencies": { | |
"chai": "^4.2.0", | |
"eslint": "^7.11.0", | |
"eslint-config-airbnb-base": "^14.2.0", | |
"eslint-config-prettier": "^6.12.0", | |
"eslint-plugin-prettier": "^3.1.4", | |
"mocha": "^8.1.3", | |
"prettier": "^2.1.2" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment