2
0
mirror of https://github.com/iconify/iconify.git synced 2024-11-09 23:00:56 +00:00
iconify/packages/core/.eslintrc.js

31 lines
641 B
JavaScript
Raw Normal View History

2020-04-28 09:47:35 +00:00
module.exports = {
env: {
browser: true,
es6: true,
node: true,
2020-09-03 07:36:15 +00:00
mocha: 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',
parserOptions: {
ecmaVersion: 2018,
sourceType: 'module',
2020-09-03 07:36:15 +00:00
project: __dirname + '/tsconfig-base.json',
2020-04-28 09:47:35 +00:00
},
plugins: ['@typescript-eslint'],
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: [
{
2020-09-03 07:36:15 +00:00
files: ['src/**/*.ts', 'tests/**/*.ts'],
},
],
2020-04-28 09:47:35 +00:00
};