mirror of
https://github.com/iconify/iconify.git
synced 2024-11-10 07:11:00 +00:00
31 lines
641 B
JavaScript
31 lines
641 B
JavaScript
module.exports = {
|
|
env: {
|
|
browser: true,
|
|
es6: true,
|
|
node: true,
|
|
mocha: true,
|
|
},
|
|
extends: ['eslint:recommended', 'plugin:@typescript-eslint/recommended'],
|
|
globals: {
|
|
Atomics: 'readonly',
|
|
SharedArrayBuffer: 'readonly',
|
|
},
|
|
parser: '@typescript-eslint/parser',
|
|
parserOptions: {
|
|
ecmaVersion: 2018,
|
|
sourceType: 'module',
|
|
project: __dirname + '/tsconfig-base.json',
|
|
},
|
|
plugins: ['@typescript-eslint'],
|
|
rules: {
|
|
'no-mixed-spaces-and-tabs': ['off'],
|
|
'no-unused-vars': ['off'],
|
|
'@typescript-eslint/no-unused-vars-experimental': ['error'],
|
|
},
|
|
overrides: [
|
|
{
|
|
files: ['src/**/*.ts', 'tests/**/*.ts'],
|
|
},
|
|
],
|
|
};
|