Skip to content

Instantly share code, notes, and snippets.

@ycmjason
Last active October 1, 2019 10:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ycmjason/1bec0f7739780baff5ae42288ab3f018 to your computer and use it in GitHub Desktop.
Save ycmjason/1bec0f7739780baff5ae42288ab3f018 to your computer and use it in GitHub Desktop.
Basic Configs

This file contains some config files.

module.exports = {
printWidth: 120,
semi: true,
singleQuote: true,
trailingComma: 'all',
}
{
"compilerOptions": {
"baseUrl": ".",
"moduleResolution": "node",
"resolveJsonModule": true,
"esModuleInterop": true,
"paths": {
"/*": ["src/*"]
},
"target": "esnext",
"module": "esnext",
"strict": true,
"forceConsistentCasingInFileNames": true,
"noUnusedLocals": true,
"noUnusedParameters": true
},
"include": ["src/**/*.ts", "src/**/*.vue"]
}
declare module '*.vue' {
import Vue from 'vue';
export default Vue;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment