UNPKG

vite-plugin-svg-spriter

Version:

Build a svg sprite from individual svgs and inject it in your root html with vite

37 lines (30 loc) 841 B
module.exports = { parser: '@typescript-eslint/parser', env: { browser: true, jest: true, node: true, es6: true, }, extends: ['standard-with-typescript', 'prettier'], parserOptions: { project: './tsconfig.json', ecmaVersion: 2020, // Allows for the parsing of modern ECMAScript features sourceType: 'module', // Allows for the use of imports }, plugins: ['import'], settings: { 'import/resolver': { node: { extensions: ['.js', '.jsx', '.ts', '.tsx'], }, }, }, rules: { // note you must disable the base rule as it can report incorrect errors 'no-use-before-define': 'off', '@typescript-eslint/no-use-before-define': ['error'], '@typescript-eslint/explicit-module-boundary-types': 'off', '@typescript-eslint/ban-ts-comment': 'warn', }, }