module.exports = {
'env': {
'browser': true,
'es2021': true
},
'extends': [
'eslint:recommended',
'plugin:@typescript-eslint/recommended'
],
'overrides': [
{
plugins: ['no-const-array'],
rules: {
'no-const-array/no-const-array': 'error'
},
'env': {
'node': true
},
'files': [
'.eslintrc.{js,cjs}'
],
'parserOptions': {
'sourceType': 'script'
}
}
],
'parser': '@typescript-eslint/parser',
'parserOptions': {
'ecmaVersion': 'latest',
'sourceType': 'module'
},
'plugins': [
'@typescript-eslint',
'no-const-array'
],
'rules': {
'indent': [
'error',
'tab'
],
'linebreak-style': [
'error',
'unix'
],
'quotes': [
'error',
'single'
],
'semi': [
'error',
'always'
],
'no-const-array/no-const-array': 'error' // rule
}
};
eslint-plugin-no-const-array
1.0.1 • Public • PublishedPackage Sidebar
Install
npm i eslint-plugin-no-const-array
Weekly Downloads
0
Version
1.0.1
License
ISC
Unpacked Size
6.91 kB
Total Files
7