mirror of
https://github.com/danog/sass-site.git
synced 2024-11-30 04:29:17 +01:00
33 lines
707 B
JavaScript
33 lines
707 B
JavaScript
module.exports = {
|
|
root: true,
|
|
env: {
|
|
browser: true,
|
|
es2021: true,
|
|
node: true,
|
|
},
|
|
extends: [
|
|
'eslint:recommended',
|
|
'plugin:@typescript-eslint/recommended',
|
|
'plugin:import/recommended',
|
|
'plugin:import/typescript',
|
|
'prettier',
|
|
],
|
|
parser: '@typescript-eslint/parser',
|
|
parserOptions: {
|
|
sourceType: 'module',
|
|
warnOnUnsupportedTypeScriptVersion: false,
|
|
},
|
|
plugins: ['@typescript-eslint', 'simple-import-sort'],
|
|
settings: {
|
|
'import/resolver': {
|
|
typescript: true,
|
|
},
|
|
},
|
|
rules: {
|
|
'import/order': 0,
|
|
'simple-import-sort/imports': 1,
|
|
'no-console': 1,
|
|
'no-warning-comments': [1, { terms: ['todo', 'fixme', '@@@'] }],
|
|
},
|
|
};
|