Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- module.exports = {
- root: true,
- env: {
- node: true,
- },
- extends: [
- 'plugin:vue/essential',
- '@vue/airbnb',
- ],
- rules: {
- 'brace-style': ['error', 'stroustrup', { allowSingleLine: true }],
- 'max-len': ['error', 200, 2, {
- ignoreUrls: true,
- ignoreComments: false,
- ignoreRegExpLiterals: true,
- ignoreStrings: true,
- ignoreTemplateLiterals: true,
- }],
- 'no-param-reassign': ['error', { props: false }],
- 'no-console': process.env.NODE_ENV === 'production' ? 'error' : 'off',
- 'no-debugger': process.env.NODE_ENV === 'production' ? 'error' : 'off',
- },
- parserOptions: {
- parser: 'babel-eslint',
- },
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement