mirror of
https://github.com/lucide-icons/lucide.git
synced 2025-12-16 07:37:42 +01:00
* Update `svgo` and `svgson` version and fix some tests * Update eslint-related packages and fix all linter errors * Update all rollup-related packages version * Update all rollup-related packages (part 2) * Update the rest of package which need to be updated * Fix unwanted comment * Fix unwanted comment (again)
40 lines
838 B
JavaScript
40 lines
838 B
JavaScript
module.exports = {
|
|
env: {
|
|
browser: true,
|
|
node: true,
|
|
},
|
|
extends: ['airbnb-base', 'prettier'],
|
|
plugins: ['import', 'prettier'],
|
|
rules: {
|
|
'no-console': 'off',
|
|
'no-param-reassign': 'off',
|
|
'no-shadow': 'off',
|
|
'no-use-before-define': 'off',
|
|
'prettier/prettier': [
|
|
'error',
|
|
{
|
|
singleQuote: true,
|
|
trailingComma: 'all',
|
|
},
|
|
],
|
|
'import/no-extraneous-dependencies': [
|
|
'error',
|
|
{ devDependencies: ['**/*.test.js', '**/*.spec.js', './scripts/**'] },
|
|
],
|
|
'import/extensions': [
|
|
'error',
|
|
{
|
|
pattern: {
|
|
mjs: 'always',
|
|
json: 'always',
|
|
},
|
|
},
|
|
],
|
|
},
|
|
parserOptions: {
|
|
tsconfigRootDir: __dirname,
|
|
project: ['./site/tsconfig.json', './packages/*/tsconfig.json'],
|
|
ecmaVersion: 2020,
|
|
},
|
|
};
|