Futured's approach to styling Quasar projects.
$ npm install @futuredapp/eslint-config-quasar --save-dev
or
$ yarn add @futuredapp/eslint-config-quasar -D
Add the ESLint configuration to either your eslint.config.mjs
or eslint.config.js
:
import eslintConfig from '@futuredapp/eslint-config-quasar'
export default [
{
// Files to ignore must be listed first
ignores: [],
},
...eslintConfig,
{
rules: {
// your custom rules
},
},
]
To update WebStorm to use the ESLint configuration on save, follow these steps:
-
Press ⌘ Сmd 0, to open settings and then select Languages & Frameworks | JavaScript | Code Quality Tools | ESLint.
-
Select Manual ESLint Configuration.
-
In the Extra eslint options field, type
--flag unstable_ts_config
. -
Click Apply to save the changes and close the dialog.