2
0
mirror of https://github.com/iconify/iconify.git synced 2024-12-13 06:07:50 +00:00
iconify/packages/core/.eslintrc.js

26 lines
538 B
JavaScript
Raw Normal View History

2020-04-28 09:47:35 +00:00
module.exports = {
env: {
browser: true,
es6: true,
node: true,
jasmine: true,
2020-04-28 09:47:35 +00:00
},
extends: ['eslint:recommended', 'plugin:@typescript-eslint/recommended'],
globals: {
Atomics: 'readonly',
2020-09-03 07:36:15 +00:00
SharedArrayBuffer: 'readonly',
2020-04-28 09:47:35 +00:00
},
parser: '@typescript-eslint/parser',
plugins: ['@typescript-eslint', 'jasmine'],
2020-04-28 09:47:35 +00:00
rules: {
'no-mixed-spaces-and-tabs': ['off'],
'no-unused-vars': ['off'],
2020-09-03 07:36:15 +00:00
'@typescript-eslint/no-unused-vars-experimental': ['error'],
2020-04-28 09:47:35 +00:00
},
overrides: [
{
files: ['src/**/*.ts', 'tests/*.ts'],
2020-09-03 07:36:15 +00:00
},
],
2020-04-28 09:47:35 +00:00
};