Skip to content

Basic eslint-configuration for w3geo projects with vue

License

Notifications You must be signed in to change notification settings

w3geo/eslint-config-w3geo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Basic eslint-configuration for w3geo projects with vue

Basic usage:

npm install --save-dev git+https://github.com/w3geo/eslint-config-w3geo.git

in the .eslintrc:

extends: ['w3geo']

To enable save-on-lint and other Vue features in VS Code, make sure you have the ESLint and Vetur extensions installed, and your settings.json looks something like this:

{
    "extensions.ignoreRecommendations": true,
    "editor.codeActionsOnSave": {
        "source.fixAll.eslint": true
    },
    "eslint.validate": [
        "html",
        "javascript",
        "javascriptreact",
        "vue"
    ],
    "diffEditor.renderSideBySide": false,
    "editor.tabSize": 2,
    "typescript.disableAutomaticTypeAcquisition": true,
    "window.autoDetectColorScheme": true,
    "diffEditor.ignoreTrimWhitespace": false,
    "eslint.nodeEnv": "",
    "vetur.format.defaultFormatter.js": "vscode-typescript",
    "vetur.format.defaultFormatter.html": "js-beautify-html",
    "editor.inlineSuggest.enabled": true,
}

About

Basic eslint-configuration for w3geo projects with vue

Resources

License

Stars

Watchers

Forks

Packages

No packages published