Created
August 11, 2019 08:37
-
-
Save evdama/cab3d09d3304ce0d25b029ed1664fd05 to your computer and use it in GitHub Desktop.
add json to plugins
This file contains hidden or 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 = { | |
| extends: [ | |
| 'airbnb-base', | |
| 'eslint:recommended', | |
| 'plugin:import/errors', | |
| 'plugin:import/typescript', | |
| 'plugin:import/warnings', | |
| 'prettier' | |
| ], | |
| parser: 'babel-eslint', | |
| parserOptions: { | |
| ecmaVersion: 2019, | |
| sourceType: 'module', | |
| }, | |
| env: { | |
| browser: true, | |
| node: true, | |
| jest: true, | |
| es6: true, | |
| }, | |
| root: true, | |
| rules: { | |
| 'import/prefer-default-export': 2, | |
| semi: ['error', 'never'], | |
| 'prettier/prettier': [ | |
| 2, | |
| { | |
| arrowParens: 'avoid', | |
| bracketSpacing: true, | |
| endOfLine: 'lf', | |
| printWidth: 80, | |
| semi: false, | |
| singleQuote: true, | |
| svelteBracketNewLine: true, | |
| svelteSortOrder: 'scripts-styles-markup', | |
| svelteStrictMode: true, | |
| tabWidth: 2, | |
| trailingComma: 'es5', | |
| useTabs: false | |
| }, | |
| ], | |
| }, | |
| plugins: ['html', 'prettier', 'svelte3', 'json'], | |
| overrides: [ | |
| { | |
| files: ['**/*.svelte'], | |
| processor: 'svelte3/svelte3', | |
| }, | |
| ], | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment