mirror of
https://github.com/chirimen-oh/node-web-i2c.git
synced 2025-01-18 16:08:06 +00:00
9c5bb9c006
* lint add, lint error resolved * lint add, lint warning resolved * typescript down grade * .eslint.js, packaage.json modfied. * yarn.lock update * L159 lint disabled
24 lines
No EOL
603 B
JavaScript
24 lines
No EOL
603 B
JavaScript
module.exports = {
|
|
root: true,
|
|
env: {
|
|
es6: true,
|
|
node: true,
|
|
},
|
|
parser: '@typescript-eslint/parser',
|
|
parserOptions: {
|
|
sourceType: 'module',
|
|
ecmaVersion: 2020, // Node.js 12の場合は2019、他のバージョンのNode.jsを利用している場合は場合は適宜変更する
|
|
tsconfigRootDir: __dirname,
|
|
project: ['./tsconfig.eslint.json']
|
|
},
|
|
plugins: [
|
|
'@typescript-eslint',
|
|
],
|
|
extends: [
|
|
'eslint:recommended',
|
|
'plugin:@typescript-eslint/recommended',
|
|
'plugin:@typescript-eslint/recommended-requiring-type-checking',
|
|
],
|
|
rules: {
|
|
},
|
|
}; |