-
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor(ux): update dependencies + adapt to SASS 2.0 color functions
- Loading branch information
Showing
19 changed files
with
3,353 additions
and
2,536 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,74 @@ | ||
import js from '@eslint/js' | ||
import neostandard from 'neostandard' | ||
import pluginVue from 'eslint-plugin-vue' | ||
import vueParser from 'vue-eslint-parser' | ||
import { FlatCompat } from '@eslint/eslintrc' | ||
|
||
const compat = new FlatCompat() | ||
|
||
export default [ | ||
js.configs.recommended, | ||
...pluginVue.configs['flat/essential'], | ||
...neostandard(), | ||
...compat.extends( | ||
'plugin:vue-pug/vue3-recommended' | ||
), | ||
{ | ||
ignores: [ | ||
'/dist', | ||
'/.quasar', | ||
'/node_modules' | ||
], | ||
languageOptions: { | ||
ecmaVersion: 'latest', | ||
sourceType: 'module', | ||
parser: vueParser, | ||
globals: { | ||
__statics: 'readonly', | ||
__QUASAR_SSR__: 'readonly', | ||
__QUASAR_SSR_SERVER__: 'readonly', | ||
__QUASAR_SSR_CLIENT__: 'readonly', | ||
__QUASAR_SSR_PWA__: 'readonly', | ||
process: 'readonly', | ||
Capacitor: 'readonly', | ||
chrome: 'readonly', | ||
APOLLO_CLIENT: 'readonly', | ||
EVENT_BUS: 'readonly' | ||
} | ||
}, | ||
rules: { | ||
// allow async-await | ||
'generator-star-spacing': 'off', | ||
// allow paren-less arrow functions | ||
'arrow-parens': 'off', | ||
'one-var': 'off', | ||
'no-void': 'off', | ||
'multiline-ternary': 'off', | ||
|
||
'import/first': 'off', | ||
'import/named': 'error', | ||
'import/namespace': 'error', | ||
'import/default': 'error', | ||
'import/export': 'error', | ||
'import/extensions': 'off', | ||
'import/no-unresolved': 'off', | ||
'import/no-extraneous-dependencies': 'off', | ||
|
||
'prefer-promise-reject-errors': 'off', | ||
|
||
'no-unused-vars': 'off', | ||
'vue/multi-word-component-names': 'off', | ||
|
||
// allow debugger during development only | ||
'no-debugger': process.env.NODE_ENV === 'production' ? 'error' : 'off', | ||
|
||
// disable bogus rules | ||
'vue/valid-template-root': 'off', | ||
'vue/no-parsing-error': 'off', | ||
'vue-pug/no-parsing-error': 'off', | ||
'vue/valid-v-for': 'off', | ||
'vue/html-quotes': ['warn', 'single'], | ||
'vue/max-attributes-per-line': 'off' | ||
} | ||
} | ||
] |
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
Oops, something went wrong.