2
0
mirror of https://github.com/iconify/iconify.git synced 2024-12-13 14:13:06 +00:00

feat: further integrates eslint, ts , and prettier

This commit is contained in:
Ramy Melo 2022-03-03 19:54:44 -05:00
parent b6b31aa00c
commit 3babd46af8

View File

@ -5,12 +5,21 @@ module.exports = {
node: true,
jasmine: true,
},
extends: ['eslint:recommended', 'plugin:@typescript-eslint/recommended'],
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'],
},
plugins: ['@typescript-eslint', 'jasmine'],
rules: {
'no-mixed-spaces-and-tabs': ['off'],