2
0
mirror of https://github.com/iconify/iconify.git synced 2024-11-10 07:11:00 +00:00
iconify/packages/utils/.eslintrc.js

35 lines
754 B
JavaScript
Raw Normal View History

module.exports = {
env: {
browser: true,
es6: true,
node: true,
2021-09-20 20:53:49 +00:00
jasmine: true,
},
extends: [
'eslint:recommended',
'plugin:@typescript-eslint/recommended',
// 'plugin:@typescript-eslint/recommended-requiring-type-checking',
'plugin:prettier/recommended',
],
globals: {
Atomics: 'readonly',
SharedArrayBuffer: 'readonly',
},
parser: '@typescript-eslint/parser',
parserOptions: {
tsconfigRootDir: __dirname,
project: ['tsconfig.json', 'tests/tsconfig.json'],
},
2021-09-20 20:53:49 +00:00
plugins: ['@typescript-eslint', 'jasmine'],
rules: {
'no-mixed-spaces-and-tabs': ['off'],
'no-unused-vars': ['off'],
'@typescript-eslint/no-unused-vars-experimental': ['error'],
},
overrides: [
{
2021-09-20 20:53:49 +00:00
files: ['src/**/*.ts', 'tests/*.ts'],
},
],
};